Initializes a new instance of the DatabasePermission class using a database name, a role identifier, and a unique identifier.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
语法
声明
Public Sub New ( _
roleId As String, _
name As String, _
id As String _
)
public DatabasePermission (
string roleId,
string name,
string id
)
public:
DatabasePermission (
String^ roleId,
String^ name,
String^ id
)
public DatabasePermission (
String roleId,
String name,
String id
)
public function DatabasePermission (
roleId : String,
name : String,
id : String
)
参数
- roleId
- name
A String that contains the name of the database.
- id
A String that contains a unique identifier for the database.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
DatabasePermission Class
DatabasePermission Members
Microsoft.AnalysisServices Namespace