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