Partilhar via


Método EnvironmentCollection.Contains (String)

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

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

Sintaxe

'Declaração
Public Function Contains ( _
    name As String _
) As Boolean
'Uso
Dim instance As EnvironmentCollection 
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 environment.The name of the environment.

Valor de retorno

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

Consulte também

Referência

EnvironmentCollection Classe

Sobrecarregado Contains

Namespace Microsoft.SqlServer.Management.IntegrationServices