共用方式為


SfcRelationshipAttribute 建構函式 (SfcRelationship, SfcCardinality, Type)

Initializes a new instance of the SfcRelationshipAttribute class with the specified cardinality and relationship to its parent. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Protected Sub New ( _
    relationship As SfcRelationship, _
    cardinality As SfcCardinality, _
    containsType As Type _
)
'用途
Dim relationship As SfcRelationship 
Dim cardinality As SfcCardinality 
Dim containsType As Type 

Dim instance As New SfcRelationshipAttribute(relationship, _
    cardinality, containsType)
protected SfcRelationshipAttribute(
    SfcRelationship relationship,
    SfcCardinality cardinality,
    Type containsType
)
protected:
SfcRelationshipAttribute(
    SfcRelationship relationship, 
    SfcCardinality cardinality, 
    Type^ containsType
)
new : 
        relationship:SfcRelationship * 
        cardinality:SfcCardinality * 
        containsType:Type -> SfcRelationshipAttribute
protected function SfcRelationshipAttribute(
    relationship : SfcRelationship, 
    cardinality : SfcCardinality, 
    containsType : Type
)

參數

請參閱

參考

SfcRelationshipAttribute 類別

SfcRelationshipAttribute 多載

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