Поделиться через


Свойство GrantDatabase

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Shared ReadOnly Property GrantDatabase As DatabaseEvent
    Get
'Применение
Dim value As DatabaseEvent

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

Значение свойства

Тип: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that represents the GrantDatabase event that can be included in the database event set.