CatalogFolderCollection.Contains Method (String)

Returns a value that indicates whether the catalog folder collection contains the specified name.

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


Public Function Contains ( _
    name As String _
) As Boolean
Dim instance As CatalogFolderCollection 
Dim name As String 
Dim returnValue As Boolean 

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


  • name
    Type: System.String
    The name of the catalog folder.The name of the catalog folder.

Return Value

Type: System.Boolean
true if the catalog folder collection contains the specified name; otherwise, false.

See Also


CatalogFolderCollection Class

Contains Overload

Microsoft.SqlServer.Management.IntegrationServices Namespace