Constructeur SfcMetadataRelation (String, Type, SfcCardinality, SfcRelationship, Type)
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
Public Sub New ( _
propertyName As String, _
type As Type, _
cardinality As SfcCardinality, _
relationship As SfcRelationship, _
containerType As Type _
)
'Utilisation
Dim propertyName As String
Dim type As Type
Dim cardinality As SfcCardinality
Dim relationship As SfcRelationship
Dim containerType As Type
Dim instance As New SfcMetadataRelation(propertyName, _
type, cardinality, relationship, _
containerType)
public SfcMetadataRelation(
string propertyName,
Type type,
SfcCardinality cardinality,
SfcRelationship relationship,
Type containerType
)
public:
SfcMetadataRelation(
String^ propertyName,
Type^ type,
SfcCardinality cardinality,
SfcRelationship relationship,
Type^ containerType
)
new :
propertyName:string *
type:Type *
cardinality:SfcCardinality *
relationship:SfcRelationship *
containerType:Type -> SfcMetadataRelation
public function SfcMetadataRelation(
propertyName : String,
type : Type,
cardinality : SfcCardinality,
relationship : SfcRelationship,
containerType : Type
)
Paramètres
- propertyName
Type : System.String
A String that specifies the name of the property.
- type
Type : System.Type
The specified type of the property.
- cardinality
Type : Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcCardinality
The SfcObjectCardinality cardinality of the type in relationship to its parent.
- relationship
Type : Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcRelationship
Specifies the relationship to its parent.
- containerType
Type : System.Type
The Type the container holds.
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc.Metadata