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.