Constructeur SfcRelationshipAttribute (SfcRelationship, SfcCardinality, Type)
Initializes a new instance of the SfcRelationshipAttribute class with the specified cardinality and relationship to its parent. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Protected Sub New ( _
relationship As SfcRelationship, _
cardinality As SfcCardinality, _
containsType As Type _
)
'Utilisation
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
)
Paramètres
- relationship
Type : Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcRelationship
Specifies the relationship to its parent.
- cardinality
Type : Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcCardinality
Specifies the cardinality of the type in relationship to its parent.
- containsType
Type : System.Type
The Type the container holds.
Voir aussi
Référence
SfcRelationshipAttribute Classe
Surcharge SfcRelationshipAttribute
Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc.Metadata