Share via


ApplicationParams

The parameters to pass to a Volume Shadow Copy Service Task resource specific executable for use with the Task Scheduler V1.0 API. The following table summarizes the attributes of the ApplicationParams property.

Attribute Value
Data type DWORD
Access Read/write
Status Optional
Structure CLUSPROP_SZ
Maximum None (but see Maximum Property Size.)
Default 0 (Byte offset from beginning of string.)

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.

Examples

WCHAR szApplicationParamData[]  = L"Create Shadow /AutoRetry=15 /For=<volumeName>";
CLUSPROP_SZ_DECLARE(             ApplicationParamValue, 
                                 sizeof( szApplicationParamData ) / sizeof( WCHAR ) );

ApplicationParamValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
ApplicationParamValue.cbLength  = sizeof( szApplicationParamData );
StringCbCopy(                    ApplicationParamValue.sz, 
                                 ApplicationParamValue.cbLength, 
                                 szApplicationParamData );

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