共用方式為


SfcObjectAttribute 建構函式 (SfcObjectRelationship, SfcObjectCardinality)

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

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

語法

'宣告
Public Sub New ( _
    relationship As SfcObjectRelationship, _
    cardinality As SfcObjectCardinality _
)
'用途
Dim relationship As SfcObjectRelationship
Dim cardinality As SfcObjectCardinality

Dim instance As New SfcObjectAttribute(relationship, _
    cardinality)
public SfcObjectAttribute(
    SfcObjectRelationship relationship,
    SfcObjectCardinality cardinality
)
public:
SfcObjectAttribute(
    SfcObjectRelationship relationship, 
    SfcObjectCardinality cardinality
)
new : 
        relationship:SfcObjectRelationship * 
        cardinality:SfcObjectCardinality -> SfcObjectAttribute
public function SfcObjectAttribute(
    relationship : SfcObjectRelationship, 
    cardinality : SfcObjectCardinality
)

參數