次の方法で共有


ServerProtocolCollection.Item[] プロパティ

定義

コレクション内にある指定した名前またはインデックス番号の ServerProtocol オブジェクトを取得します。

オーバーロード

Item[Int32]

コレクション内の ServerProtocol オブジェクトをインデックス番号に基づいて取得します。

Item[String]

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

Item[Int32]

コレクション内の ServerProtocol オブジェクトをインデックス番号に基づいて取得します。

public:
 property Microsoft::SqlServer::Management::Smo::Wmi::ServerProtocol ^ default[int] { Microsoft::SqlServer::Management::Smo::Wmi::ServerProtocol ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol this[int index] { get; }
member this.Item(int) : Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol
Default Public ReadOnly Property Item(index As Integer) As ServerProtocol

パラメーター

index
Int32

ServerProtocolCollection コレクション内の ServerProtocol オブジェクトの位置を示す Int32 値です。

プロパティ値

サーバー プロトコルを表す ServerProtocol オブジェクトの値です。

適用対象

Item[String]

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

public:
 property Microsoft::SqlServer::Management::Smo::Wmi::ServerProtocol ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::Wmi::ServerProtocol ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol this[string name] { get; }
member this.Item(string) : Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol
Default Public ReadOnly Property Item(name As String) As ServerProtocol

パラメーター

name
String

String コレクション内の ServerProtocol オブジェクトの名前を示す ServerProtocolCollection 値です。

プロパティ値

サーバー プロトコルを表す ServerProtocol オブジェクトの値です。

コレクションの使用

適用対象