次の方法で共有


IFsrmRule.Parameters Property

 

Gets or sets the parameters that are passed to the classifier.

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

Syntax

object[] Parameters { get; set; }
property array<Object^>^ Parameters {
    array<Object^>^ get();
    void set(array<Object^>^ value);
}
abstract Parameters : Object[] with get, set
Property Parameters As Object()

Property Value

Type: System.Object[]

A Object that contains an array of parameters that are passed to the classifier. Each element of the SAFEARRAY is a VARIANT of type VT_BSTR. Set the bstrVal member of the variant to the parameter.

Parameters are of the form, "parameter=value".

Remarks

Specify parameters only if the classifier expects the rule to pass parameters.

The parameters are not passed directly to the classifier. Instead the rule is passed to the classifier which contains the parameters (see the OnLoad method).FSRM does not limit the length of the parameter name or value, nor does it limit the number of parameters that you can specify. Specifying a parameter without a value is valid (for example, "parameter=").

See Also

IFsrmRule Interface
Microsoft.Storage Namespace

Return to top