共用方式為


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 命名空間