SfcRelationshipAttribute-Konstruktor (SfcRelationship, SfcCardinality)
Initializes a new instance of the SfcRelationshipAttribute class with the specified cardinality and relationship to its parent. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Protected Sub New ( _
relationship As SfcRelationship, _
cardinality As SfcCardinality _
)
'Usage
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
)
Parameter
- relationship
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata. . :: . .SfcRelationship
Specifies the relationship to its parent.
- cardinality
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata. . :: . .SfcCardinality
The SfcCardinality of the type in relationship to its parent.