Share via


ServerEvent.CreateContract Property

Gets a server event that can be included in the event set.

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

Syntax

'Declaration
Public Shared ReadOnly Property CreateContract As ServerEvent 
    Get
'Usage
Dim value As ServerEvent 

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.ServerEvent
A ServerEvent object that represents the CreateContract event that can be included in the server event set.

Examples

Handling SMO Events

See Also

Reference

ServerEvent Class

Microsoft.SqlServer.Management.Smo Namespace