Compartir a través de


CatalogCollection.Contains Método (String)

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

Espacio de nombres:  Microsoft.SqlServer.Management.IntegrationServices
Ensamblado:  Microsoft.SqlServer.Management.IntegrationServices (en Microsoft.SqlServer.Management.IntegrationServices.dll)

Sintaxis

'Declaración
Public Function Contains ( _
    name As String _
) As Boolean
'Uso
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

Parámetros

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

Valor devuelto

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

Vea también

Referencia

CatalogCollection Clase

Sobrecarga de Contains

Espacio de nombres Microsoft.SqlServer.Management.IntegrationServices