共用方式為


ServerPermission.Add(ServerPermission, ServerPermission) Method

Definition

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

Parameters

permissionLeft
ServerPermission
permissionRight
ServerPermission

Returns

Applies to