EnvironmentVariableCollection 类

Represents the collection for environment variables.

继承层次结构

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

命名空间:  Microsoft.SqlServer.Management.IntegrationServices
程序集:  Microsoft.SqlServer.Management.IntegrationServices(在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)

语法

声明
Public NotInheritable Class EnvironmentVariableCollection _
    Inherits SfcCollatedDictionaryCollection(Of EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo)
用法
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>

EnvironmentVariableCollection 类型公开以下成员。

属性

  名称 说明
公共属性 Ascending (从 SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共属性 Count (从 SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
受保护属性 Initialized (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共属性 IsReadOnly (从 SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共属性 IsSynchronized (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共属性 Item[String] Gets the environment variable from the environment variable collection based upon the specified name.
公共属性 Item[K] (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
受保护属性 Parent (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共属性 SyncRoot (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)

页首

方法

  名称 说明
公共方法 Add(T) (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共方法 Add(String, TypeCode, Object, Boolean, String) Adds a variable.
公共方法 Clear (从 SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共方法 Contains(String) Returns a value that indicates whether the environment variable collection contains the specified name.
公共方法 Contains(T) (从 SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共方法 Contains(T) (从 SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共方法 CopyTo(Array, Int32) (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共方法 CopyTo(array<T[], Int32) (从 SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共方法 Equals (从 Object 继承。)
公共方法 GetEnumerator (从 SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 Refresh() (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共方法 Refresh(Boolean) (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共方法 Remove(String) Removes a variable.
公共方法 Remove(T) (从 SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
受保护方法 RemoveInternal (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
受保护方法 Rename (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
公共方法 ToString (从 Object 继承。)
公共方法 TryGetValue (从 SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 ISfcCollection.Add (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 ISfcCollection.AddShadow (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 IComparer<K>.Compare (从 SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有属性 IListSource.ContainsListCollection (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有属性 ISfcCollection.Count (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 ISfcCollection.EnsureInitialized (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 ISfcCollection.FinishMerge (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 ISfcCollection.GetCollectionElementNameImpl (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 ISfcCollection.GetElementFactory (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 IEnumerable.GetEnumerator (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 ISfcCollection.GetExisting (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 IListSource.GetList (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 ISfcCollection.GetObjectByKey (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有属性 ISfcCollection.Initialized (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有属性 ISfcCollection.Parent (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 ISfcCollection.PrepareMerge (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 ISfcCollection.Remove (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 ISfcCollection.RemoveElement (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)
显式接口实现私有方法 ISfcCollection.Rename (从 SfcCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo> 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.IntegrationServices 命名空间