共用方式為


SfcReferenceAttribute 類別

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

此 API 不符合 CLS 標準。 

繼承階層

System.Object
  System.Attribute
    Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReferenceAttribute

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

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

SfcReferenceAttribute 型別公開下列成員。

建構函式

  名稱 說明
公用方法 SfcReferenceAttribute(Type) Initializes a new instance of the SfcReferenceAttribute class with the specified resolver type.
公用方法 SfcReferenceAttribute(Type, array<String[]) Initializes a new instance of the SfcReferenceAttribute class with the specified resolver type and parameters.
公用方法 SfcReferenceAttribute(Type, String, array<String[]) Initializes a new instance of the SfcReferenceAttribute class with the specified reference type and urn template. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
公用方法 SfcReferenceAttribute(Type, array<String[], String, array<String[]) 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
公用方法 SfcReferenceAttribute(Type, Type, String, array<String[]) 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
公用方法 SfcReferenceAttribute(Type, array<String[], Type, String, array<String[]) 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

上層

屬性

  名稱 說明
公用屬性 Arguments Gets the arguments for the urnTemplate. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
公用屬性 InstanceResolver Gets the custom resolver interface.
公用屬性 Keys Gets or sets the keys that participate in the reference. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
公用屬性 Resolver 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
公用屬性 Type 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
公用屬性 TypeId (繼承自 Attribute。)
公用屬性 UrnTemplate 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Attribute。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Attribute。)
公用方法 GetType (繼承自 Object。)
公用方法 GetUrn Gets the Urn reference from the specified instance. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
公用方法 IsDefaultAttribute (繼承自 Attribute。)
公用方法 Match (繼承自 Attribute。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 Resolve(Object) Resolves a single target instance from the given source instance. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
公用方法 Resolve<T, S>(S) Resolves a strongly-typed single target instance from the given source instance.
公用方法 ToString (繼承自 Object。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 _Attribute.GetIDsOfNames (繼承自 Attribute。)
明確介面實作私用方法 _Attribute.GetTypeInfo (繼承自 Attribute。)
明確介面實作私用方法 _Attribute.GetTypeInfoCount (繼承自 Attribute。)
明確介面實作私用方法 _Attribute.Invoke (繼承自 Attribute。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.Sdk.Sfc.Metadata 命名空間