RuleCollection.Item プロパティ (Int32)
コレクション内にある指定したインデックス番号の Rule オブジェクトを取得します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public ReadOnly Default Property Item ( _
index As Integer _
) As Rule
Get
'使用
Dim instance As RuleCollection
Dim index As Integer
Dim value As Rule
value = instance(index)
public Rule this[
int index
] { get; }
public:
property Rule^ default[int index] {
Rule^ get (int index);
}
member Item : Rule
JScript はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- index
型: System.Int32
RuleCollection コレクション内の Rule オブジェクトの位置を示す Int32 値です。
プロパティ値
型: Microsoft.SqlServer.Management.Smo.Rule
ルールを表す Rule オブジェクト値です。