DatabasePermission.Connect 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

'Declaration
Public Shared ReadOnly Property Connect As DatabasePermission
    Get
'Usage
Dim value As DatabasePermission

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that represents the Connect permission that can be included in the database permission set.