DatabaseEvent.AlterService Property

Gets a database 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 AlterService As DatabaseEvent
    Get
'Usage
Dim value As DatabaseEvent

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that represents the AlterService event that can be included in the database event set.