다음을 통해 공유


Contains 메서드

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
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

매개 변수

반환 값

형식: 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.