Costruttore SfcMetadataRelation (String, Type, SfcCardinality, SfcRelationship, Type, AttributeCollection)
Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
propertyName As String, _
type As Type, _
cardinality As SfcCardinality, _
relationship As SfcRelationship, _
containerType As Type, _
attributes As AttributeCollection _
)
'Utilizzo
Dim propertyName As String
Dim type As Type
Dim cardinality As SfcCardinality
Dim relationship As SfcRelationship
Dim containerType As Type
Dim attributes As AttributeCollection
Dim instance As New SfcMetadataRelation(propertyName, _
type, cardinality, relationship, _
containerType, attributes)
public SfcMetadataRelation(
string propertyName,
Type type,
SfcCardinality cardinality,
SfcRelationship relationship,
Type containerType,
AttributeCollection attributes
)
public:
SfcMetadataRelation(
String^ propertyName,
Type^ type,
SfcCardinality cardinality,
SfcRelationship relationship,
Type^ containerType,
AttributeCollection^ attributes
)
new :
propertyName:string *
type:Type *
cardinality:SfcCardinality *
relationship:SfcRelationship *
containerType:Type *
attributes:AttributeCollection -> SfcMetadataRelation
public function SfcMetadataRelation(
propertyName : String,
type : Type,
cardinality : SfcCardinality,
relationship : SfcRelationship,
containerType : Type,
attributes : AttributeCollection
)
Parametri
- propertyName
Tipo: System.String
A String that specifies the name of the property.
- type
Tipo: System.Type
The specified type of the property.
- cardinality
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcCardinality
The SfcObjectCardinality cardinality of the type in relationship to its parent.
- relationship
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcRelationship
Specifies the relationship to its parent.
- containerType
Tipo: System.Type
The Type the container holds.
- attributes
Tipo: System.ComponentModel.AttributeCollection
A collection of attributes.
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc.Metadata