Partilhar via


DatabasePermissionSet.Add Method

Definition

Overloads

Add(DatabasePermission)
Add(DatabasePermissionSet, DatabasePermission)

Add(DatabasePermission)

public Microsoft.SqlServer.Management.Smo.DatabasePermissionSet Add (Microsoft.SqlServer.Management.Smo.DatabasePermission permission);
member this.Add : Microsoft.SqlServer.Management.Smo.DatabasePermission -> Microsoft.SqlServer.Management.Smo.DatabasePermissionSet
Public Function Add (permission As DatabasePermission) As DatabasePermissionSet

Parameters

permission
DatabasePermission

Returns

Applies to

Add(DatabasePermissionSet, DatabasePermission)

public static Microsoft.SqlServer.Management.Smo.DatabasePermissionSet Add (Microsoft.SqlServer.Management.Smo.DatabasePermissionSet permissionLeft, Microsoft.SqlServer.Management.Smo.DatabasePermission permissionRight);
static member Add : Microsoft.SqlServer.Management.Smo.DatabasePermissionSet * Microsoft.SqlServer.Management.Smo.DatabasePermission -> Microsoft.SqlServer.Management.Smo.DatabasePermissionSet
Public Shared Function Add (permissionLeft As DatabasePermissionSet, permissionRight As DatabasePermission) As DatabasePermissionSet

Parameters

permissionLeft
DatabasePermissionSet
permissionRight
DatabasePermission

Returns

Applies to