Database.DatabaseSegments Property

 

Gets a collection of database segments.

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

Syntax

[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, 
    SfcContainerCardinality.OneToAny, typeof(DatabaseSegment))]
public DatabaseSegmentCollection DatabaseSegments { get; }
public:
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, 
    SfcContainerCardinality::OneToAny, (DatabaseSegment^::typeid))]
property DatabaseSegmentCollection^ DatabaseSegments {
    DatabaseSegmentCollection^ get();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer,
    SfcContainerCardinality.OneToAny, typeof(DatabaseSegment))>]
member DatabaseSegments : DatabaseSegmentCollection with get
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny,
    GetType(DatabaseSegment))>
Public ReadOnly Property DatabaseSegments As DatabaseSegmentCollection

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseSegmentCollection

The collection of database segments.

See Also

Database Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top