Item プロパティ (String)

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

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

構文

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

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

パラメーター

プロパティ値

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