TechNet
Export (0) Print
Expand All

PartitionNumberedObjectCollectionBase.Contains Method (Int32)

 

Determines whether the specified partition number is present in the collection.

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

public bool Contains(
	int number
)

Parameters

number
Type: System.Int32

An Int32 value that specifies the partition number.

Return Value

Type: System.Boolean

A Boolean value that specifies whether the specified partition number is present in the collection of physical partitions.

If True, the collection contains the partition with the specified number. Otherwise, False.

Return to top
Show:
© 2016 Microsoft