Export (0) Print
Expand All

ServerPermission Implicit Conversion (ServerPermission to ServerPermissionSet)

Creates a new server permission set by implicitly converting server permission.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public static implicit operator ServerPermissionSet (
	ServerPermission permission


Type: Microsoft.SqlServer.Management.Smo.ServerPermission
The specified permission to create.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ServerPermissionSet
The newly created server permission set.

The op_Implicit(ServerPermission) method is a implicit user-defined type conversion operator that converts a single Server Permission to a Server Permission Set.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft