ServerAliasCollection.Item プロパティ (Int32)

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

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

構文

'宣言
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ServerAlias 
    Get
'使用
Dim instance As ServerAliasCollection 
Dim index As Integer 
Dim value As ServerAlias 

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

パラメーター

プロパティ値

型: Microsoft.SqlServer.Management.Smo.Wmi.ServerAlias
SQL Server の別名を表す ServerAlias オブジェクトの値です。

使用例

コレクションの使用

関連項目

参照

ServerAliasCollection クラス

Item オーバーロード

Microsoft.SqlServer.Management.Smo.Wmi 名前空間