Partager via


Méthode EnvironmentVariableCollection.Contains (String)

Returns a value that indicates whether the environment variable 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 EnvironmentVariableCollection 
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 specified name.The specified name.

Valeur de retour

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

Voir aussi

Référence

EnvironmentVariableCollection Classe

Surcharge Contains

Espace de noms Microsoft.SqlServer.Management.IntegrationServices