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 命名空間