Partager via


IFsrmFileManagementJob.CreatePropertyCondition Method (String)

 

Creates a new property condition and adds it to the collection of property conditions.

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

Syntax

IFsrmPropertyCondition CreatePropertyCondition(
    string Name
)
IFsrmPropertyCondition^ CreatePropertyCondition(
    String^ Name
)
abstract CreatePropertyCondition : 
        Name:string -> IFsrmPropertyCondition
Function CreatePropertyCondition (
    Name As String
) As IFsrmPropertyCondition

Parameters

  • Name
    Type: System.String

    The name of the property definition that the condition applies to. To enumerate the defined property definitions, call the EnumPropertyDefinitions method.

Return Value

Type: Microsoft.Storage.IFsrmPropertyCondition

Returns a IFsrmPropertyCondition interface that you use to define the newly created property condition.

Remarks

To enumerate the collection of property conditions associated with the job, access the PropertyConditions property.

See Also

IFsrmFileManagementJob Interface
Microsoft.Storage Namespace

Return to top