IMutableDatabase.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 IMutableMetadataCollection(Of IDatabaseRole)
    Get
‘사용 방법
Dim instance As IMutableDatabase 
Dim value As IMutableMetadataCollection(Of IDatabaseRole)

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

속성 값

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

참고 항목

참조

IMutableDatabase 인터페이스

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