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.

AttributeValue
Data typeNull-terminated Unicode string
Access Read/write
StatusRequired
Structure CLUSPROP_SZ
MaximumNone (but see Maximum Property Size.)
DefaultNULL

 

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

 

 

Show: