ObjectPermissionSet.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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