Aracılığıyla paylaş


DatabaseRole.ExtendedProperties Property

Gets the extended properties of the database role.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ExtendedProperty))> _
Public ReadOnly Property ExtendedProperties As ExtendedPropertyCollection
    Get
'Kullanım
Dim instance As DatabaseRole
Dim value As ExtendedPropertyCollection

value = instance.ExtendedProperties
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ExtendedProperty))]
public ExtendedPropertyCollection ExtendedProperties { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(ExtendedProperty))]
public:
virtual property ExtendedPropertyCollection^ ExtendedProperties {
    ExtendedPropertyCollection^ get () sealed;
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ExtendedProperty))>]
abstract ExtendedProperties : ExtendedPropertyCollection
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(ExtendedProperty))>]
override ExtendedProperties : ExtendedPropertyCollection
final function get ExtendedProperties () : ExtendedPropertyCollection

Property Value

Type: Microsoft.SqlServer.Management.Smo.ExtendedPropertyCollection
An ExtendedPropertyCollection object that specifies the extended properties of the DatabaseRole object.

Implements

IExtendedProperties.ExtendedProperties

Examples

Managing Users, Roles, and Logins

See Also

Reference

DatabaseRole Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Database-Level Roles

CREATE ROLE (Transact-SQL)