SfcReferenceSelectorAttribute 类

Represents an attribute that allows valid values to be returned that can be applied to a property that is also a soft reference. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

此 API 不符合 CLS。 符合 CLS 的替代项是 [false]。

继承层次结构

System. . :: . .Object
  System. . :: . .Attribute
    Microsoft.SqlServer.Management.Sdk.Sfc.Metadata..::..SfcReferenceSelectorAttribute

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
<AttributeUsageAttribute(AttributeTargets.Property, Inherited := True, AllowMultiple := False)> _
<CLSCompliantAttribute(False)> _
Public Class SfcReferenceSelectorAttribute _
    Inherits Attribute
用法
Dim instance As SfcReferenceSelectorAttribute
[AttributeUsageAttribute(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
[CLSCompliantAttribute(false)]
public class SfcReferenceSelectorAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property, Inherited = true, AllowMultiple = false)]
[CLSCompliantAttribute(false)]
public ref class SfcReferenceSelectorAttribute : public Attribute
[<AttributeUsageAttribute(AttributeTargets.Property, Inherited = true, AllowMultiple = false)>]
[<CLSCompliantAttribute(false)>]
type SfcReferenceSelectorAttribute =  
    class
        inherit Attribute
    end
public class SfcReferenceSelectorAttribute extends Attribute

SfcReferenceSelectorAttribute 类型公开以下成员。

构造函数

  名称 说明
公共方法 SfcReferenceSelectorAttribute Initializes a new instance of the SfcReferenceSelectorAttribute class with the specified field and path expression. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

页首

属性

  名称 说明
公共属性 Arguments Gets the arguments for the PathExpression. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共属性 Field Gets the field that needs to be return by the query. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共属性 PathExpression Gets the path expression that is use to resolve the reference. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共属性 TypeId (从 Attribute 继承。)

页首

方法

  名称 说明
公共方法 Equals (从 Attribute 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Attribute 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 IsDefaultAttribute (从 Attribute 继承。)
公共方法 Match (从 Attribute 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 _Attribute. . :: . .GetIDsOfNames (从 Attribute 继承。)
显式接口实现私有方法 _Attribute. . :: . .GetTypeInfo (从 Attribute 继承。)
显式接口实现私有方法 _Attribute. . :: . .GetTypeInfoCount (从 Attribute 继承。)
显式接口实现私有方法 _Attribute. . :: . .Invoke (从 Attribute 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。