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 はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- index
型: System.Int32
ServerAliasCollection コレクション内の ServerAlias オブジェクトの位置を示す Int32 値です。
プロパティ値
型: Microsoft.SqlServer.Management.Smo.Wmi.ServerAlias
SQL Server の別名を表す ServerAlias オブジェクトの値です。