Sdílet prostřednictvím


TargetSetLevelCollection.Contains Method (String)

Verifies whether the specified string exists in the collection.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Function Contains ( _
    filterTypeSkeleton As String _
) As Boolean
'Usage
Dim instance As TargetSetLevelCollection 
Dim filterTypeSkeleton As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(filterTypeSkeleton)
public bool Contains(
    string filterTypeSkeleton
)
public:
bool Contains(
    String^ filterTypeSkeleton
)
member Contains : 
        filterTypeSkeleton:string -> bool
public function Contains(
    filterTypeSkeleton : String
) : boolean

Parameters

  • filterTypeSkeleton
    Type: System.String
    The String value that is to be found in the collection.

Return Value

Type: System.Boolean
A Boolean value that determines whether the specified string exists in the collection. If True, the string exists in the collection. Otherwise, False.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Using Collections

See Also

Reference

TargetSetLevelCollection Class

Contains Overload

Microsoft.SqlServer.Management.Dmf Namespace