Item プロパティ (String, String)

コレクション内にある指定した名前の Rule オブジェクトを取得します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public ReadOnly Default Property Item ( _
    name As String, _
    schema As String _
) As Rule
    Get
'使用
Dim instance As RuleCollection
Dim name As String
Dim schema As String
Dim value As Rule

value = instance(name, schema)
public Rule this[
    string name,
    string schema
] { get; }
public:
property Rule^ default[String^ name, String^ schema] {
    Rule^ get (String^ name, String^ schema);
}
member Item : Rule
JScript はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

プロパティ値

型: Microsoft.SqlServer.Management.Smo. . :: . .Rule
ルールを表す Rule オブジェクト値です。