共用方式為


SfcRelationshipAttribute 建構函式 (SfcRelationship, SfcCardinality)

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 _
)
'用途
Dim relationship As SfcRelationship 
Dim cardinality As SfcCardinality 

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

參數

請參閱

參考

SfcRelationshipAttribute 類別

SfcRelationshipAttribute 多載

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