Propriété ServerPermission.ViewAnyDatabase
Gets a permission that can be included in the server permission set.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared ReadOnly Property ViewAnyDatabase As ServerPermission
Get
'Utilisation
Dim value As ServerPermission
value = ServerPermission.ViewAnyDatabase
public static ServerPermission ViewAnyDatabase { get; }
public:
static property ServerPermission^ ViewAnyDatabase {
ServerPermission^ get ();
}
static member ViewAnyDatabase : ServerPermission
static function get ViewAnyDatabase () : ServerPermission
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.ServerPermission
A ServerPermission object that represents the ViewAnyDatabase permission that can be included in the server permission set.
Exemples
Octroi, révocation et refus d'autorisations
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo