Udostępnij przez


Konstruktor SfcRelationshipAttribute (SfcRelationship, SfcCardinality, Type)

Inicjuje nowe wystąpienie SfcRelationshipAttribute klasy z określonym Kardynalność i relacji nadrzędny.Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Składnia

'Deklaracja
Protected Sub New ( _
    relationship As SfcRelationship, _
    cardinality As SfcCardinality, _
    containsType As Type _
)
'Użycie
Dim relationship As SfcRelationship
Dim cardinality As SfcCardinality
Dim containsType As Type

Dim instance As New SfcRelationshipAttribute(relationship, _
    cardinality, containsType)
protected SfcRelationshipAttribute(
    SfcRelationship relationship,
    SfcCardinality cardinality,
    Type containsType
)
protected:
SfcRelationshipAttribute(
    SfcRelationship relationship, 
    SfcCardinality cardinality, 
    Type^ containsType
)
new : 
        relationship:SfcRelationship * 
        cardinality:SfcCardinality * 
        containsType:Type -> SfcRelationshipAttribute
protected function SfcRelationshipAttribute(
    relationship : SfcRelationship, 
    cardinality : SfcCardinality, 
    containsType : Type
)

Parametry