Freigeben über


ObjectPermissionSet.Add Method

Definition

Overloads

Add(ObjectPermission)
Add(ObjectPermissionSet, ObjectPermission)

Add(ObjectPermission)

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

Parameters

permission
ObjectPermission

Returns

Applies to

Add(ObjectPermissionSet, ObjectPermission)

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

Parameters

permissionLeft
ObjectPermissionSet
permissionRight
ObjectPermission

Returns

Applies to