Share via


SfcObjectAttribute Constructor (SfcObjectRelationship, SfcObjectCardinality)

Initializes a new instance of the SfcObjectAttribute class with the specified relationship and cardinality to its parent. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Sub New ( _
    relationship As SfcObjectRelationship, _
    cardinality As SfcObjectCardinality _
)
'Usage
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
)

Parameters