PackageCollection.Contains Method (String)
Determines whether the package 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 PackageCollection
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 package contains the specified name; otherwise, false.
See Also
Reference
Microsoft.SqlServer.Management.IntegrationServices Namespace