Share via


ProjectCollection.Contains Method (String)

Determines whether the project contains the specified name.

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

Syntax

'Declaration
Public Function Contains ( _
    name As String _
) As Boolean
'Usage
Dim instance As ProjectCollection 
Dim name As String 
Dim returnValue As Boolean 

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

Parameters

  • name
    Type: System.String
    The specified name.The specified name.

Return Value

Type: System.Boolean
True if the project contains the specified name; otherwise, false.

See Also

Reference

ProjectCollection Class

Contains Overload

Microsoft.SqlServer.Management.IntegrationServices Namespace