DatabaseRole 생성자 (Database, String)
Initializes a new instance of the DatabaseRole class.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
Public Sub New ( _
database As Database, _
name As String _
)
‘사용 방법
Dim database As Database
Dim name As String
Dim instance As New DatabaseRole(database, _
name)
public DatabaseRole(
Database database,
string name
)
public:
DatabaseRole(
Database^ database,
String^ name
)
new :
database:Database *
name:string -> DatabaseRole
public function DatabaseRole(
database : Database,
name : String
)
매개 변수
- database
형식: Microsoft.SqlServer.Management.Smo. . :: . .Database
A Database object value that specifies the database on which to create the role.
- name
형식: System. . :: . .String
A String value that specifies the name of the database role.