Compartilhar via


Construtor SfcObjectAttribute (SfcObjectRelationship, SfcObjectCardinality)

Initializes a new instance of the SfcObjectAttribute class with the specified relationship and cardinality 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
Public Sub New ( _
    relationship As SfcObjectRelationship, _
    cardinality As SfcObjectCardinality _
)
'Uso
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
)

Parâmetros