次の方法で共有


SearchPropertyCollection.Item プロパティ (String)

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

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

構文

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

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

パラメーター

プロパティ値

型: Microsoft.SqlServer.Management.Smo.SearchProperty
SearchPropertyCollection 内の指定された名前に対応する SearchProperty です。

使用例

コレクションの使用

関連項目

参照

SearchPropertyCollection クラス

Item オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間