EnvironmentVariableCollection 类

定义

表示环境变量的集合。

public ref class EnvironmentVariableCollection sealed : Microsoft::SqlServer::Management::Sdk::Sfc::SfcCollatedDictionaryCollection<Microsoft::SqlServer::Management::IntegrationServices::EnvironmentVariable ^, Microsoft::SqlServer::Management::IntegrationServices::EnvironmentVariable::Key ^, Microsoft::SqlServer::Management::IntegrationServices::EnvironmentInfo ^>
public sealed class EnvironmentVariableCollection : Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollatedDictionaryCollection<Microsoft.SqlServer.Management.IntegrationServices.EnvironmentVariable,Microsoft.SqlServer.Management.IntegrationServices.EnvironmentVariable.Key,Microsoft.SqlServer.Management.IntegrationServices.EnvironmentInfo>
type EnvironmentVariableCollection = class
    inherit SfcCollatedDictionaryCollection<EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo>
Public NotInheritable Class EnvironmentVariableCollection
Inherits SfcCollatedDictionaryCollection(Of EnvironmentVariable, EnvironmentVariable.Key, EnvironmentInfo)
继承

属性

Ascending

获取或设置一个值,该值指示是否按升序排序。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
Count

获取集合中包含的元素数。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
CultureInfo

获取或设置由集合使用的 CultureInfo 对象。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
IgnoreCase

获取或设置一个值,该值指示集合是否区分大小写。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
Initialized

获取一个值,该值指示集合是否已初始化。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
IsReadOnly

获取一个值,该值指示集合是否为只读。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
IsSynchronized

获取或设置一个值,该值指示是否同步对集合的访问(确保线程安全)。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
Item[K]

获取由键指定的项。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
Item[String]

基于指定的名称从环境变量集合获取环境变量。

Parent

获取或设置父对象的类型。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
SyncRoot

获取或设置用于同步对集合的访问的对象。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)

方法

Add(String, TypeCode, Object, Boolean, String)

添加变量。

Add(T)

将指定的对象添加到集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
AddImpl(T)

将某一对象或成员添加到此集合中。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
AddShadow(T)

将指定的对象添加到影子集合中。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
Clear()

从集合中移除所有项。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
Contains(K)

确定集合中是否包含指定的键。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
Contains(String)

返回一个值,该值指示环境变量集合是否包含指定名称。

Contains(T)

确定集合中是否包含指定的对象。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
CopyTo(Array, Int32)

将元素从集合复制到指定的数组,从指定的数组索引处开始复制。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
CopyTo(T[], Int32)

将元素从集合复制到指定的数组,从指定的数组索引处开始复制。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
CreateAndInitializeChildObject(K)

创建子对象并将其添加到集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
EnsureCollectionInitialized()

从服务器初始化集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
FinishMerge()

为旧集合交换新集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
GetCollectionElementNameImpl()

获取集合中元素的统一资源名称 (URN) 后缀。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
GetElementFactoryImpl()

返回用于实例化集合对象的工厂。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
GetEnumerator()

返回一个可循环访问集合的枚举数。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
GetExistingObjectByKey(K)

使用指定的键从集合中检索现有对象。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
GetObjectByKey(K)

使用指定的键从集合中检索对象。 如果找不到匹配的对象,则创建该对象并将其添加到集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
InitInnerCollection()

创建空的内部集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
PrepareMerge()

准备将新查询结果合并到现有集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
Refresh()

通过在集合中创建新对象以及属性和合并现有对象以及属性来刷新集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
Refresh(Boolean)

通过在集合中创建新对象以及属性和合并现有对象以及属性来刷新集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
Remove(String)

删除变量。

Remove(T)

从集合中删除指定的对象。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
RemoveImpl(T)

从集合中删除指定的对象。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
RemoveInternal(T)

将指定的对象标记为要删除。 将对象的状态设置为 ToBeDropped。 更改或删除父对象时,将删除该对象。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
Rename(T, K)

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

重命名指定的对象。

(继承自 SfcCollection<T,K,ParentT>)
ResetInnerCollection()

重置内部集合的 CultureInfoIgnoreCaseAscending 属性以满足新设置的要求。 在更改任意属性后调用此方法。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
TryGetValue(K, T)

获取与指定键关联的值。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)

显式接口实现

IComparer<K>.Compare(K, K)

比较集合中的两个键。

(继承自 SfcCollatedDictionaryCollection<T,K,ParentT>)
IEnumerable.GetEnumerator()

获取可遍历集合的枚举器。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
IListSource.ContainsListCollection

获取一个值,该值指示集合是否是 IList 对象的集合。

(继承自 SfcCollection<T,K,ParentT>)
IListSource.GetList()

从未实现 IList 接口的对象返回可绑定到数据源的 IList 对象。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Add(SfcInstance)

将指定的对象添加到集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.AddShadow(SfcInstance)

将指定的对象添加到影子集合中。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Count

获取集合中包含的元素数。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.EnsureInitialized()

从服务器初始化集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.FinishMerge()

为旧集合交换新集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.GetCollectionElementNameImpl()

获取集合中元素的 URN 后缀。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.GetElementFactory()

获取用于实例化集合对象的工厂。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.GetExisting(SfcKey, SfcInstance)

使用指定的键从集合中检索现有项。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.GetObjectByKey(SfcKey)

使用指定的键从集合中检索对象。 如果找不到匹配的对象,则创建该对象并将其添加到集合。

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Initialized

获取或设置一个值,该值指示集合是否已初始化。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Parent

获取父对象。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.PrepareMerge()

准备将新查询结果合并到现有集合。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Remove(SfcInstance)

从集合中删除指定的对象。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.RemoveElement(SfcInstance)

从集合中删除指定的元素。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)
ISfcCollection.Rename(SfcInstance, SfcKey)

重命名指定的对象。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcCollection<T,K,ParentT>)

适用于