Partager via


Méthode CatalogCollection.Contains (String)

Gets or sets a value that indicates whether the catalog collection contains the specified name.

Espace de noms :  Microsoft.SqlServer.Management.IntegrationServices
Assembly :  Microsoft.SqlServer.Management.IntegrationServices (en Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntaxe

'Déclaration
Public Function Contains ( _
    name As String _
) As Boolean
'Utilisation
Dim instance As CatalogCollection 
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

Paramètres

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

Valeur de retour

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

Voir aussi

Référence

CatalogCollection Classe

Surcharge Contains

Espace de noms Microsoft.SqlServer.Management.IntegrationServices