ServerPermissionSet 构造函数 (ServerPermission[])

Initializes a new instance of the ServerPermissionSet class based on the specified set of permissions.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub New ( _
    ParamArray permissions As ServerPermission() _
)
用法
Dim permissions As ServerPermission()

Dim instance As New ServerPermissionSet(permissions)
public ServerPermissionSet(
    params ServerPermission[] permissions
)
public:
ServerPermissionSet(
    ... array<ServerPermission^>^ permissions
)
new : 
        permissions:ServerPermission[] -> ServerPermissionSet
public function ServerPermissionSet(
    ... permissions : ServerPermission[]
)

参数