Dela via


ObjectPermission.Connect Property

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

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

Syntax

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

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.ObjectPermission
An ObjectPermission object that represents the Connect permission that can be included in the object permission set.