Compartilhar via


Construtor SfcMetadataRelation (String, Type, SfcCardinality, SfcRelationship, AttributeCollection)

Initializes a new instance of the SfcMetadataRelation class with the specified parameters. 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 ( _
    propertyName As String, _
    type As Type, _
    cardinality As SfcCardinality, _
    relationship As SfcRelationship, _
    attributes As AttributeCollection _
)
'Uso
Dim propertyName As String
Dim type As Type
Dim cardinality As SfcCardinality
Dim relationship As SfcRelationship
Dim attributes As AttributeCollection

Dim instance As New SfcMetadataRelation(propertyName, _
    type, cardinality, relationship, _
    attributes)
public SfcMetadataRelation(
    string propertyName,
    Type type,
    SfcCardinality cardinality,
    SfcRelationship relationship,
    AttributeCollection attributes
)
public:
SfcMetadataRelation(
    String^ propertyName, 
    Type^ type, 
    SfcCardinality cardinality, 
    SfcRelationship relationship, 
    AttributeCollection^ attributes
)
new : 
        propertyName:string * 
        type:Type * 
        cardinality:SfcCardinality * 
        relationship:SfcRelationship * 
        attributes:AttributeCollection -> SfcMetadataRelation
public function SfcMetadataRelation(
    propertyName : String, 
    type : Type, 
    cardinality : SfcCardinality, 
    relationship : SfcRelationship, 
    attributes : AttributeCollection
)

Parâmetros