AuditSpecificationDetail.ObjectClass Property

Gets the class of the object to be audited.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property ObjectClass As String 
    Get
'Usage
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

Property Value

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

Remarks

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.

See Also

Reference

AuditSpecificationDetail Structure

Microsoft.SqlServer.Management.Smo Namespace