Метод PartitionNumberedObjectCollectionBase.Contains
Determines whether the specified partition number is present in the collection.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Function Contains ( _
number As Integer _
) As Boolean
'Применение
Dim instance As PartitionNumberedObjectCollectionBase
Dim number As Integer
Dim returnValue As Boolean
returnValue = instance.Contains(number)
public bool Contains(
int number
)
public:
bool Contains(
int number
)
member Contains :
number:int -> bool
public function Contains(
number : int
) : boolean
Параметры
- number
Тип: System.Int32
An Int32 value that specifies the partition number.
Возвращаемое значение
Тип: 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.