Condividi tramite


Proprietà Item (String)

Gets an Audit 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 Audit
    Get
'Utilizzo
Dim instance As AuditCollection
Dim name As String
Dim value As Audit

value = instance(name)
public Audit this[
    string name
] { get; }
public:
property Audit^ default[String^ name] {
    Audit^ get (String^ name);
}
member Item : Audit
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Audit
An Audit object value that represents the audit.