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
)

参数