DatabasePermissionSet.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(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