共用方式為


DatabasePermission.Add(DatabasePermission, DatabasePermission) Method

Definition

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

Parameters

permissionLeft
DatabasePermission
permissionRight
DatabasePermission

Returns

Applies to