FileSegmentCollectionBase.Contains Method (Int32)
Determines whether the collection contains 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 bool Contains(
int databaseSegmentID
)
public:
bool Contains(
int databaseSegmentID
)
member Contains :
databaseSegmentID:int -> bool
Public Function Contains (
databaseSegmentID As Integer
) As Boolean
Parameters
databaseSegmentID
Type: System.Int32The database segment ID of the file segment to check.
Return Value
Type: System.Boolean
true if the file segment exists in the collection; otherwise, false.
See Also
FileSegmentCollectionBase Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top