مشاركة عبر


ServerDdlTriggerEvent.DenyServer Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

Syntax

'Declaration
Public Shared ReadOnly Property DenyServer As ServerDdlTriggerEvent 
    Get
'Usage
Dim value As ServerDdlTriggerEvent 

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

Property Value

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

Examples

Handling SMO Events

See Also

Reference

ServerDdlTriggerEvent Class

Microsoft.SqlServer.Management.Smo Namespace