ApplicationRoleCollection.Item プロパティ (String)
コレクション内にある指定した名前の ApplicationRole オブジェクトを取得します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public ReadOnly Default Property Item ( _
name As String _
) As ApplicationRole
Get
'使用
Dim instance As ApplicationRoleCollection
Dim name As String
Dim value As ApplicationRole
value = instance(name)
public ApplicationRole this[
string name
] { get; }
public:
property ApplicationRole^ default[String^ name] {
ApplicationRole^ get (String^ name);
}
member Item : ApplicationRole
JScript はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- name
型: System.String
ApplicationRoleCollection コレクション内の ApplicationRole オブジェクトの名前を示す文字列値です。
プロパティ値
型: Microsoft.SqlServer.Management.Smo.ApplicationRole
アプリケーション ロールを表す ApplicationRole オブジェクトの値です。
使用例
関連項目
参照
Microsoft.SqlServer.Management.Smo 名前空間