Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Gets a server event that can be included in the event set.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Sintassi
'Dichiarazione
Public Shared ReadOnly Property GrantDatabase As ServerEvent
public static ServerEvent GrantDatabase { get; }
public:
static property ServerEvent^ GrantDatabase {
ServerEvent^ get ();
}
/** @property */
public static ServerEvent get_GrantDatabase ()
public static function get GrantDatabase () : ServerEvent
Valore proprietà
A ServerEvent object that represents the GrantDatabase event that can be included in the server event set.
Osservazioni
Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.
Esempio
How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
ServerEvent Class
ServerEvent Members
Microsoft.SqlServer.Management.Smo Namespace