Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 3.09 KB

nf-taskschd-iprincipal-put_displayname.md

File metadata and controls

73 lines (59 loc) · 3.09 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:taskschd.IPrincipal.put_DisplayName
IPrincipal::put_DisplayName (taskschd.h)
Gets or sets the name of the principal. (Put)
DisplayName property [Task Scheduler]
DisplayName property [Task Scheduler]
IPrincipal interface
IPrincipal interface [Task Scheduler]
DisplayName property
IPrincipal.DisplayName
IPrincipal.put_DisplayName
IPrincipal::DisplayName
IPrincipal::get_DisplayName
IPrincipal::put_DisplayName
put_DisplayName
taskschd.iprincipal_displayname
taskschd/IPrincipal::DisplayName
taskschd/IPrincipal::get_DisplayName
taskschd/IPrincipal::put_DisplayName
taskschd\iprincipal_displayname.htm
taskschd
285a0e64-d796-4b0d-84b1-9ebd0728ddc0
12/05/2018
DisplayName property [Task Scheduler], DisplayName property [Task Scheduler],IPrincipal interface, IPrincipal interface [Task Scheduler],DisplayName property, IPrincipal.DisplayName, IPrincipal.put_DisplayName, IPrincipal::DisplayName, IPrincipal::get_DisplayName, IPrincipal::put_DisplayName, put_DisplayName, taskschd.iprincipal_displayname, taskschd/IPrincipal::DisplayName, taskschd/IPrincipal::get_DisplayName, taskschd/IPrincipal::put_DisplayName
taskschd.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Taskschd.lib
Taskschd.dll
Windows
19H1
IPrincipal::put_DisplayName
taskschd/IPrincipal::put_DisplayName
c++
APIRef
kbSyntax
COM
taskschd.dll
IPrincipal.DisplayName
IPrincipal.get_DisplayName
IPrincipal.put_DisplayName

IPrincipal::put_DisplayName

-description

Gets or sets the name of the principal.

This property is read/write.

-parameters

-remarks

When reading or writing XML for a task, the display name for a principal is specified in the DisplayName element of the Task Scheduler schema.

When setting this property value, the value can be text that is retrieved from a resource .dll file. A specialized string is used to reference the text from the resource file. The format of the string is $(@ [Dll], [ResourceID]) where [Dll] is the path to the .dll file that contains the resource and [ResourceID] is the identifier for the resource text. For example, the setting this property value to $(@ %SystemRoot%\System32\ResourceName.dll, -101) will set the property to the value of the resource text with an identifier equal to -101 in the %SystemRoot%\System32\ResourceName.dll file.

-see-also

IPrincipal

Task Scheduler