Delen via


EnvironmentVariableCollection Class

Represents the collection for environment variables.

Inheritance Hierarchy

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>

The EnvironmentVariableCollection type exposes the following members.

Properties

  Name Description
Public property Ascending (Inherited from SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public property Count (Inherited from SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Protected property Initialized (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public property IsReadOnly (Inherited from SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public property IsSynchronized (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public property Item[String] Gets the environment variable from the environment variable collection based upon the specified name.
Public property Item[K] (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Protected property Parent (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public property SyncRoot (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)

Top

Methods

  Name Description
Public method Add(T) (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public method Add(String, TypeCode, Object, Boolean, String) Adds a variable.
Public method Clear (Inherited from SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public method Contains(String) Returns a value that indicates whether the environment variable collection contains the specified name.
Public method Contains(T) (Inherited from SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public method Contains(T) (Inherited from SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public method CopyTo(Array, Int32) (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public method CopyTo(array<T[], Int32) (Inherited from SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public method Equals (Inherited from Object.)
Public method GetEnumerator (Inherited from SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Refresh() (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public method Refresh(Boolean) (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public method Remove(String) Removes a variable.
Public method Remove(T) (Inherited from SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Protected method RemoveInternal (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Protected method Rename (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Public method ToString (Inherited from Object.)
Public method TryGetValue (Inherited from SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ISfcCollection.Add (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.AddShadow (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method IComparer<K>.Compare (Inherited from SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate property IListSource.ContainsListCollection (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate property ISfcCollection.Count (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.EnsureInitialized (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.FinishMerge (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.GetCollectionElementNameImpl (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.GetElementFactory (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.GetExisting (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method IListSource.GetList (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.GetObjectByKey (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate property ISfcCollection.Initialized (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate property ISfcCollection.Parent (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.PrepareMerge (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.Remove (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.RemoveElement (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.Rename (Inherited from SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.IntegrationServices Namespace