Share via


AuditSpecificationDetail.ObjectName Property

Gets the name of the object to be monitored during the audit.

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

Syntax

'Declaration
Public ReadOnly Property ObjectName As String
    Get
'Usage
Dim instance As AuditSpecificationDetail
Dim value As String

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

Property Value

Type: System.String
A String object value that specifies the name of the object to be monitored during the audit.