AuditActionSpecification.TargetObject Property
Gets or sets the object that is the target of the audit actions.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property TargetObject As SecurityTargetObject
Get
Set
'Usage
Dim instance As AuditActionSpecification
Dim value As SecurityTargetObject
value = instance.TargetObject
instance.TargetObject = value
public SecurityTargetObject TargetObject { get; set; }
public:
property SecurityTargetObject^ TargetObject {
SecurityTargetObject^ get ();
void set (SecurityTargetObject^ value);
}
member TargetObject : SecurityTargetObject with get, set
function get TargetObject () : SecurityTargetObject
function set TargetObject (value : SecurityTargetObject)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.SecurityTargetObject
The object that is the target of the audit actions.