EnvironmentCollection 类

定义

代表环境收藏。

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

属性

名称 说明
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(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(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()

重置 CultureInfo内集合中的 、 IgnoreCaseAscending 属性,以尊重新的设置。 在任何属性发生变化后调用此方法。 请不要在代码中直接引用该成员。 它支持 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>)

适用于