次の方法で共有


IFsrmPropertyCondition Interface

 

Defines a property condition that the file management job uses to determine if the file is expired.

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

Syntax

[GuidAttribute("326AF66F-2AC0-4F68-BF8C-4759F054FA29")]
public interface IFsrmPropertyCondition
[GuidAttribute("326AF66F-2AC0-4F68-BF8C-4759F054FA29")]
public interface class IFsrmPropertyCondition
[<GuidAttribute("326AF66F-2AC0-4F68-BF8C-4759F054FA29")>]
type IFsrmPropertyCondition = interface end
<GuidAttribute("326AF66F-2AC0-4F68-BF8C-4759F054FA29")>
Public Interface IFsrmPropertyCondition

Properties

Name Description
System_CAPS_pubproperty Name

Retrieves or sets the name of the classification property whose value you want to compare to the property condition's value.

System_CAPS_pubproperty Type

Retrieves or sets the comparison operator used to determine whether the property condition is met.

System_CAPS_pubproperty Value

Retrieves or sets the property condition's value.

Methods

Name Description
System_CAPS_pubmethod Delete()

Removes this property condition from the collection of property conditions specified for the file management job.

Remarks

To create this interface, call the CreatePropertyCondition method.

The PropertyConditions property contains a collection of these interfaces.

The property condition specifies the classification property in the file to test. When the file management job runs, it gets the value of the classification property and uses the comparison operator to compare the value of the specified classification property (see the Name property) to the condition's value (see the Value property). If this condition and all the other specified conditions for the job are met, FSRM can expire the file or call the custom action if it is defined.

See Also

Microsoft.Storage Namespace

Return to top