DatabasePermission.CreateContract 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 CreateContract As DatabasePermission 
    Get
'Usage
Dim value As DatabasePermission 

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

Property Value

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

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

DatabasePermission Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Permissions (Database Engine)