IDatabase.Roles 속성

Gets a collection of all roles that are defined in the database.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.Metadata
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

구문

‘선언
ReadOnly Property Roles As IMetadataCollection(Of IDatabaseRole)
    Get
‘사용 방법
Dim instance As IDatabase 
Dim value As IMetadataCollection(Of IDatabaseRole)

value = instance.Roles
IMetadataCollection<IDatabaseRole> Roles { get; }
property IMetadataCollection<IDatabaseRole^>^ Roles {
    IMetadataCollection<IDatabaseRole^>^ get ();
}
abstract Roles : IMetadataCollection<IDatabaseRole>
function get Roles () : IMetadataCollection<IDatabaseRole>

속성 값

유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<IDatabaseRole>
The IMetadataCollection<T> of IDatabaseRole that contains all roles defined in the database.

참고 항목

참조

IDatabase 인터페이스

Microsoft.SqlServer.Management.SqlParser.Metadata 네임스페이스