Delen via


SecurityStatement.SecurityTargetObject Property

Gets or sets the security target object. Optional may be nulla null reference (Nothing in Visual Basic).

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property SecurityTargetObject As SecurityTargetObject 
    Get 
    Set
'Usage
Dim instance As SecurityStatement 
Dim value As SecurityTargetObject 

value = instance.SecurityTargetObject

instance.SecurityTargetObject = value
public SecurityTargetObject SecurityTargetObject { get; set; }
public:
property SecurityTargetObject^ SecurityTargetObject {
    SecurityTargetObject^ get ();
    void set (SecurityTargetObject^ value);
}
member SecurityTargetObject : SecurityTargetObject with get, set
function get SecurityTargetObject () : SecurityTargetObject 
function set SecurityTargetObject (value : SecurityTargetObject)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.SecurityTargetObject
The security target object.

See Also

Reference

SecurityStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace