EnvironmentVariableCollection Class
Dalam artikel ini
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
Ascending
(Inherited from SfcCollatedDictionaryCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Count
(Inherited from SfcCollatedDictionaryCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Initialized
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
IsReadOnly
(Inherited from SfcCollatedDictionaryCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
IsSynchronized
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Item[String]
Gets the environment variable from the environment variable collection based upon the specified name.
Item[K]
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Parent
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
SyncRoot
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Top
Methods
Add(T)
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Add(String, TypeCode, Object, Boolean, String)
Adds a variable.
Clear
(Inherited from SfcCollatedDictionaryCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Contains(String)
Returns a value that indicates whether the environment variable collection contains the specified name.
Contains(T)
(Inherited from SfcCollatedDictionaryCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Contains(T)
(Inherited from SfcCollatedDictionaryCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
CopyTo(Array, Int32)
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
CopyTo(array<T[], Int32)
(Inherited from SfcCollatedDictionaryCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Equals
(Inherited from Object .)
GetEnumerator
(Inherited from SfcCollatedDictionaryCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
GetHashCode
(Inherited from Object .)
GetType
(Inherited from Object .)
Refresh()
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Refresh(Boolean)
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Remove(String)
Removes a variable.
Remove(T)
(Inherited from SfcCollatedDictionaryCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
RemoveInternal
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Rename
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ToString
(Inherited from Object .)
TryGetValue
(Inherited from SfcCollatedDictionaryCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
Top
Explicit Interface Implementations
ISfcCollection.Add
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.AddShadow
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
IComparer<K>.Compare
(Inherited from SfcCollatedDictionaryCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
IListSource.ContainsListCollection
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.Count
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.EnsureInitialized
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.FinishMerge
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.GetCollectionElementNameImpl
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.GetElementFactory
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
IEnumerable.GetEnumerator
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.GetExisting
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
IListSource.GetList
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.GetObjectByKey
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.Initialized
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.Parent
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.PrepareMerge
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.Remove
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
ISfcCollection.RemoveElement
(Inherited from SfcCollection <EnvironmentVariable , EnvironmentVariable.Key , EnvironmentInfo >.)
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