Condividi tramite


Proprietà ObjectClass

Gets the class of the object to be audited.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property ObjectClass As String
    Get
'Utilizzo
Dim instance As AuditSpecificationDetail
Dim value As String

value = instance.ObjectClass
public string ObjectClass { get; }
public:
property String^ ObjectClass {
    String^ get ();
}
member ObjectClass : string
function get ObjectClass () : String

Valore proprietà

Tipo: System. . :: . .String
A String value that specifies the class of the object to be audited.

Osservazioni

The ObjectClass property specifies the type of object that the server audit that is associated with audit specification detail will run upon, such as DATABASE or SCHEMA.