IRoleFactory.CreateDatabaseRole 메서드

Creates a database 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)

IMutableDatabaseRole CreateDatabaseRole(
	IDatabase database,
	string name
)

매개 변수

database
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabase
The IDatabase object that is the parent of the database role object.
name
유형: System.String
The name of the database role object to create.

반환 값

유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableDatabaseRole
A database role object that belongs to the specified database object and has the specified name.

커뮤니티 추가 항목

추가
표시: