共用方式為


ServerDdlTriggerEvent.RevokeServer 屬性

Gets a server data definition language (DDL) trigger event that can be included in the event set.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
Public Shared ReadOnly Property RevokeServer As ServerDdlTriggerEvent 
    Get
'用途
Dim value As ServerDdlTriggerEvent 

value = ServerDdlTriggerEvent.RevokeServer
public static ServerDdlTriggerEvent RevokeServer { get; }
public:
static property ServerDdlTriggerEvent^ RevokeServer {
    ServerDdlTriggerEvent^ get ();
}
static member RevokeServer : ServerDdlTriggerEvent
static function get RevokeServer () : ServerDdlTriggerEvent

屬性值

型別:Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that represents the RevokeServer event that can be included in the server DDL trigger event set.

範例

處理 SMO 事件

請參閱

參考

ServerDdlTriggerEvent 類別

Microsoft.SqlServer.Management.Smo 命名空間