共用方式為


EventNotificationObjectScope.Target 屬性

Gets or sets the target for event notification.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property Target As EventNotificationTarget 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

EventNotificationObjectScope 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間