DatabasePermission.ViewDatabaseState Property
Gets a permission that can be included in the database permission set.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Shared ReadOnly Property ViewDatabaseState As DatabasePermission
Get
'Kullanım
Dim value As DatabasePermission
value = DatabasePermission.ViewDatabaseState
public static DatabasePermission ViewDatabaseState { get; }
public:
static property DatabasePermission^ ViewDatabaseState {
DatabasePermission^ get ();
}
static member ViewDatabaseState : DatabasePermission
static function get ViewDatabaseState () : DatabasePermission
Property Value
Type: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that represents the ViewDatabaseState permission that can be included in the database permission set.
Examples
Granting, Revoking, and Denying Permissions
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace