Compartilhar via


Construtor SfcRelationshipAttribute (SfcRelationship, SfcCardinality)

Initializes a new instance of the SfcRelationshipAttribute class with the specified cardinality and relationship to its parent. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

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

Sintaxe

'Declaração
Protected Sub New ( _
    relationship As SfcRelationship, _
    cardinality As SfcCardinality _
)
'Uso
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
)

Parâmetros