ObjectClass 屬性

Gets the class of the object to be audited.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property ObjectClass As String
    Get
'用途
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

屬性值

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

備註

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.