共用方式為


CreateEventNotificationStatement.Scope 屬性

Gets or sets the scope for event notification.

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

語法

'宣告
Public Property Scope As EventNotificationObjectScope 
    Get 
    Set
'用途
Dim instance As CreateEventNotificationStatement 
Dim value As EventNotificationObjectScope 

value = instance.Scope

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

屬性值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.EventNotificationObjectScope
The scope for event notification.

請參閱

參考

CreateEventNotificationStatement 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間