Share via


ApplicationName

Name and path of a Volume Shadow Copy Service Task resource specific executable, formated for use with the Task Scheduler V1.0 API. The following table summarizes the attributes of the ApplicationName property.

Attribute Value
Data type Null-terminated Unicode string
Access Read/write
Status Required
Structure CLUSPROP_SZ
Maximum None (but see Maximum Property Size.)
Default NULL

Remarks

When a Volume Shadow Copy Service Task resource is brought online to a node, it will create a task using the Task Scheduler V1.0 API. When the resource goes offline, the task is deleted from the node.

The CLUSPROP_SZ_DECLARE macro creates a CLUSPROP_SZ structure with an array of the correct size.

The constant for this property is CLUSREG_NAME_VSSTASK_APPNAME.

Examples

WCHAR szApplicationNameData[]  = L"%systemroot%\\system32\\vssadmin.exe";
CLUSPROP_SZ_DECLARE( ApplicationNameValue, 
                     sizeof( szApplicationNameData ) / sizeof( WCHAR ) );

ApplicationNameValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
ApplicationNameValue.cbLength  = sizeof( szApplicationNameData );
StringCbCopy(                    ApplicationNameValue.sz, 
                                 ApplicationNameValue.cbLength, 
                                 szApplicationNameData );

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

See also

Volume Shadow Copy Service Task Private Properties

Task Scheduler V1.0 API