Delen via


ServerEvent.AlterWorkloadGroup 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 AlterWorkloadGroup As ServerEvent 
    Get
'Usage
Dim value As ServerEvent 

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

Property Value

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

Examples

Handling SMO Events

See Also

Reference

ServerEvent Class

Microsoft.SqlServer.Management.Smo Namespace