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< (Of < ( <'IDatabaseRole> ) > ) >
The IMetadataCollection<(Of <(<'T>)>)> of IDatabaseRole that contains all roles defined in the database.