共用方式為


Server.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.ServerRole))]
public Microsoft.SqlServer.Management.Smo.ServerRoleCollection 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.ServerRole))>]
member this.Roles : Microsoft.SqlServer.Management.Smo.ServerRoleCollection
Public ReadOnly Property Roles As ServerRoleCollection

Property Value

Attributes

Applies to