ServerPermission.ViewAnyDatabase Property

Gets a permission that can be included in the server permission set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared ReadOnly Property ViewAnyDatabase As ServerPermission
    Get
'Usage
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

Property Value

Type: Microsoft.SqlServer.Management.Smo.ServerPermission
A ServerPermission object that represents the ViewAnyDatabase permission that can be included in the server permission set.