FileSegment.DatabaseSegmentID Property

 

Gets the database segment ID where the file segment belongs to.

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

Syntax

[SfcKeyAttribute(0)]
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public int DatabaseSegmentID { get; }
public:
[SfcKeyAttribute(0)]
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::Matrix)]
property int DatabaseSegmentID {
    int get();
}
[<SfcKeyAttribute(0)>]
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)>]
member DatabaseSegmentID : int with get
<SfcKeyAttribute(0)>
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)>
Public ReadOnly Property DatabaseSegmentID As Integer

Property Value

Type: System.Int32

The database segment ID where the file segment belongs to.

See Also

FileSegment Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top