ServerPermissionSet.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(ServerPermission) | |
Add(ServerPermissionSet, ServerPermission) |
Add(ServerPermission)
public Microsoft.SqlServer.Management.Smo.ServerPermissionSet Add (Microsoft.SqlServer.Management.Smo.ServerPermission permission);
member this.Add : Microsoft.SqlServer.Management.Smo.ServerPermission -> Microsoft.SqlServer.Management.Smo.ServerPermissionSet
Public Function Add (permission As ServerPermission) As ServerPermissionSet
Parameters
- permission
- ServerPermission
Returns
Applies to
Add(ServerPermissionSet, ServerPermission)
public static Microsoft.SqlServer.Management.Smo.ServerPermissionSet Add (Microsoft.SqlServer.Management.Smo.ServerPermissionSet permissionLeft, Microsoft.SqlServer.Management.Smo.ServerPermission permissionRight);
static member Add : Microsoft.SqlServer.Management.Smo.ServerPermissionSet * Microsoft.SqlServer.Management.Smo.ServerPermission -> Microsoft.SqlServer.Management.Smo.ServerPermissionSet
Public Shared Function Add (permissionLeft As ServerPermissionSet, permissionRight As ServerPermission) As ServerPermissionSet
Parameters
- permissionLeft
- ServerPermissionSet
- permissionRight
- ServerPermission