次の方法で共有


CertificateCollection.Item プロパティ (String)

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

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

構文

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

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

パラメーター

プロパティ値

型: Microsoft.SqlServer.Management.Smo.Certificate
証明書を表す Certificate オブジェクトの値です。

使用例

コレクションの使用

関連項目

参照

CertificateCollection クラス

Item オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間