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
)

Parameters

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.

Community Additions

ADD
Show:
© 2014 Microsoft