PartitionNumberedObjectCollectionBase.Contains Method
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)
Syntax
'Deklaracja
Public Function Contains ( _
number As Integer _
) As Boolean
public bool Contains (
int number
)
public:
bool Contains (
int number
)
public boolean Contains (
int number
)
public function Contains (
number : int
) : boolean
Parameters
- number
An Int32 value that specifies the partition number.
Return Value
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.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.