FileSegmentCollection.GetItemByDatabaseSegmentID Method (Int32)

 

Gets the file segment with the specified database segment ID.

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

Syntax

public FileSegment GetItemByDatabaseSegmentID(
    int databaseSegmentID
)
public:
FileSegment^ GetItemByDatabaseSegmentID(
    int databaseSegmentID
)
member GetItemByDatabaseSegmentID : 
        databaseSegmentID:int -> FileSegment
Public Function GetItemByDatabaseSegmentID (
    databaseSegmentID As Integer
) As FileSegment

Parameters

  • databaseSegmentID
    Type: System.Int32

    The database segment ID of the file segment to get.

Return Value

Type: Microsoft.SqlServer.Management.Smo.FileSegment

The file segment with the specified database segment ID.

See Also

FileSegmentCollection Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top