ServerPermissionSet 构造函数 (array<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[]
)
参数
- permissions
类型:array<Microsoft.SqlServer.Management.Smo.ServerPermission[]
An array of ServerPermission objects that specify the set of permissions.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间