Freigeben über


EnvironmentVariableCollection-Klasse

Represents the collection for environment variables.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>
      Microsoft.SqlServer.Management.IntegrationServices.EnvironmentVariableCollection

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

Syntax

'Declaration
Public NotInheritable Class EnvironmentVariableCollection _
    Inherits SfcCollatedDictionaryCollection(Of EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo)
'Usage
Dim instance As EnvironmentVariableCollection
public sealed class EnvironmentVariableCollection : SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>
public ref class EnvironmentVariableCollection sealed : public SfcCollatedDictionaryCollection<EnvironmentVariable^, EnvironmentVariable.Key^, EnvironmentInfo^>
[<SealedAttribute>]
type EnvironmentVariableCollection =  
    class 
        inherit SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>
    end
public final class EnvironmentVariableCollection extends SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>

Der EnvironmentVariableCollection-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Ascending (Geerbt von SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Eigenschaft Count (Geerbt von SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Geschützte Eigenschaft Initialized (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Eigenschaft IsReadOnly (Geerbt von SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Eigenschaft IsSynchronized (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Eigenschaft Item[String] Gets the environment variable from the environment variable collection based upon the specified name.
Öffentliche Eigenschaft Item[K] (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Geschützte Eigenschaft Parent (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Eigenschaft SyncRoot (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Add(T) (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Methode Add(String, TypeCode, Object, Boolean, String) Adds a variable.
Öffentliche Methode Clear (Geerbt von SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Methode Contains(String) Returns a value that indicates whether the environment variable collection contains the specified name.
Öffentliche Methode Contains(T) (Geerbt von SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Methode Contains(T) (Geerbt von SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Methode CopyTo(Array, Int32) (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Methode CopyTo(array<T[], Int32) (Geerbt von SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetEnumerator (Geerbt von SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode Refresh() (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Methode Refresh(Boolean) (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Methode Remove(String) Removes a variable.
Öffentliche Methode Remove(T) (Geerbt von SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Geschützte Methode RemoveInternal (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Geschützte Methode Rename (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode TryGetValue (Geerbt von SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.Add (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.AddShadow (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode IComparer<K>.Compare (Geerbt von SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Eigenschaft IListSource.ContainsListCollection (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Eigenschaft ISfcCollection.Count (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.EnsureInitialized (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.FinishMerge (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.GetCollectionElementNameImpl (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.GetElementFactory (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode IEnumerable.GetEnumerator (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.GetExisting (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode IListSource.GetList (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.GetObjectByKey (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Eigenschaft ISfcCollection.Initialized (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Eigenschaft ISfcCollection.Parent (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.PrepareMerge (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.Remove (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.RemoveElement (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcCollection.Rename (Geerbt von SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.IntegrationServices-Namespace