共用方式為


GrantDatabase 屬性

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
Public Shared ReadOnly Property GrantDatabase As DatabaseDdlTriggerEvent
    Get
'用途
Dim value As DatabaseDdlTriggerEvent

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