Partager via


IFsrmFileManagementJob.CreateCustomAction Method ()

 

Creates a custom action object.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

IFsrmActionCommand CreateCustomAction()
IFsrmActionCommand^ CreateCustomAction()
abstract CreateCustomAction : unit -> IFsrmActionCommand
Function CreateCustomAction As IFsrmActionCommand

Return Value

Type: Microsoft.Storage.IFsrmActionCommand

Returns a IFsrmActionCommand interface that you can use to specify a custom action to perform if the job's property conditions are met.

Remarks

To get the custom action, access the CustomAction property.

Create a custom action only if the job's OperationType is set to FsrmFileManagementType_Custom.

For a list of macros supported, perform a "get" operation on the ActionVariables and ActionVariableDescriptions properties.

See Also

Arguments
IFsrmFileManagementJob Interface
Microsoft.Storage Namespace

Return to top