Proprietà Item (String)
Gets a DatabaseAuditSpecification object in the collection by name.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As DatabaseAuditSpecification
Get
'Utilizzo
Dim instance As DatabaseAuditSpecificationCollection
Dim name As String
Dim value As DatabaseAuditSpecification
value = instance(name)
public DatabaseAuditSpecification this[
string name
] { get; }
public:
property DatabaseAuditSpecification^ default[String^ name] {
DatabaseAuditSpecification^ get (String^ name);
}
member Item : DatabaseAuditSpecification
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System. . :: . .String
A String value that specifies the name of the DatabaseAuditSpecification object in the DatabaseAuditSpecificationCollection collection.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAuditSpecification
A DatabaseAuditSpecification object value that represents the database audit specification.
Vedere anche