IRoleFactory.CreateApplicationRole 메서드
Creates an application role object that belongs to the specified database object and has the specified name.
네임스페이스: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리: Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)
구문
‘선언
Function CreateApplicationRole ( _
database As IDatabase, _
name As String _
) As IMutableApplicationRole
‘사용 방법
Dim instance As IRoleFactory
Dim database As IDatabase
Dim name As String
Dim returnValue As IMutableApplicationRole
returnValue = instance.CreateApplicationRole(database, _
name)
IMutableApplicationRole CreateApplicationRole(
IDatabase database,
string name
)
IMutableApplicationRole^ CreateApplicationRole(
IDatabase^ database,
String^ name
)
abstract CreateApplicationRole :
database:IDatabase *
name:string -> IMutableApplicationRole
function CreateApplicationRole(
database : IDatabase,
name : String
) : IMutableApplicationRole
매개 변수
- database
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabase
The IDatabase object that is the parent of the application role object.
- name
유형: System.String
The name of the application role object to create.
반환 값
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableApplicationRole
An application role object that belongs to the specified database object and has the specified name.
참고 항목
참조
Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스