Udostępnij przez


RuleCollection.Item Property (String, String)

Gets a Rule object in the collection by name.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public ReadOnly Default Property Item ( _
    name As String, _
    schema As String _
) As Rule
public Rule this [
    string name,
    string schema
] { get; }
public:
property Rule^ default [String^, String^] {
    Rule^ get (String^ name, String^ schema);
}
/** @property */
public Rule get_Item (String name, String schema)

Parameters

  • schema
    A String value that specifies the schema of the Rule object.

Property Value

A Rule object value that represents the rule.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.