Partager via


Propriété ObjectClass

Gets the class of the object to be audited.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property ObjectClass As String
    Get
'Utilisation
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

Valeur de propriété

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

Notes

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.