语言

IContext 接口

定义

检索一个服务对象,该对象为其他对象提供自定义支持。

public interface class IContext : IEquatable<Microsoft::SqlServer::Management::Data::IContext ^>, IServiceProvider, Microsoft::SqlServer::Management::Data::IPropertyDictionary, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcPropertySet, System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Object ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>
public interface IContext : IEquatable<Microsoft.SqlServer.Management.Data.IContext>, IServiceProvider, Microsoft.SqlServer.Management.Data.IPropertyDictionary, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertySet, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>
type IContext = interface
    interface IPropertyDictionary
    interface ISfcPropertySet
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
    interface IServiceProvider
    interface IEquatable<IContext>
Public Interface IContext
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), IEquatable(Of IContext), IPropertyDictionary, IServiceProvider, ISfcPropertySet
派生
实现

方法

名称 说明
Add(IEnumerable<KeyValuePair<String,Object>>, PropertyCollisionResolution)

将属性添加到词典中,并以该属性的指定解析方式。

(继承自 IPropertyDictionary)
Add(ISfcProperty, PropertyCollisionResolution)

向字典添加一个属性,并匹配指定的接口分辨率。

(继承自 IPropertyDictionary)
Add(ISfcProperty)

将指定的属性添加到词典中。

(继承自 IPropertyDictionary)
Add(KeyValuePair<String,Object>, PropertyCollisionResolution)

将指定的键和值添加到字典。

(继承自 IPropertyDictionary)
Add(String, Object, PropertyCollisionResolution)

向字典添加一个属性,并包含指定的键、值和该属性的解析。

(继承自 IPropertyDictionary)
Add(String, Type, PropertyCollisionResolution)

向字典添加一个属性,包含指定的名称、类型和接口解析。

(继承自 IPropertyDictionary)
Add(String, Type)

向字典添加一个具有指定名称和类型的属性。

(继承自 IPropertyDictionary)
Contains(ISfcProperty)

检查带有指定元数据的属性是否包含在属性集中。 请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 ISfcPropertySet)
Contains(String)

检查指定名称的属性是否在该属性集中。 请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 ISfcPropertySet)
Contains<T>(String)

检查具有指定名称和类型的属性是否在属性集中。不要在代码中直接引用该成员。 它支持 SQL Server 基础设施......

(继承自 ISfcPropertySet)
EnumProperties()

返回一个枚举器,可以遍历属性集中的属性。 请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 ISfcPropertySet)
TryGetProperty(String, ISfcProperty)

尝试获取属性元数据。 请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 ISfcPropertySet)
TryGetPropertyValue(String, Object)

试图获取房产价值。 请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 ISfcPropertySet)
TryGetPropertyValue<T>(String, T)

试图获取房产价值。 请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 ISfcPropertySet)

适用于