共用方式為


Database.Roles Property

Definition

[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObject(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerRelationship.ObjectContainer, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerCardinality.ZeroToAny, typeof(Microsoft.SqlServer.Management.Smo.DatabaseRole), Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectFlags.Design)]
public Microsoft.SqlServer.Management.Smo.DatabaseRoleCollection Roles { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObject(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerRelationship.ObjectContainer, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerCardinality.ZeroToAny, typeof(Microsoft.SqlServer.Management.Smo.DatabaseRole), Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectFlags.Design)>]
member this.Roles : Microsoft.SqlServer.Management.Smo.DatabaseRoleCollection
Public ReadOnly Property Roles As DatabaseRoleCollection

Property Value

Attributes

Applies to