EventNotificationObjectScope.Target Property

Gets or sets the target for event notification.

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

Syntax

'Declaration
Public Property Target As EventNotificationTarget 
    Get 
    Set
'Usage
Dim instance As EventNotificationObjectScope 
Dim value As EventNotificationTarget 

value = instance.Target

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

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.EventNotificationTarget
The target for event notification.

See Also

Reference

EventNotificationObjectScope Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace