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.