Konstruktor SfcMetadataRelation (String, Type, SfcCardinality, SfcRelationship, Type, AttributeCollection)
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
Public Sub New ( _
propertyName As String, _
type As Type, _
cardinality As SfcCardinality, _
relationship As SfcRelationship, _
containerType As Type, _
attributes As AttributeCollection _
)
'Użycie
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
)
Parametry
- propertyName
Typ: System.String
A String , który określa nazwę właściwość.
- type
Typ: System.Type
Określony typ właściwość.
- cardinality
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcCardinality
SfcObjectCardinality Kardynalność typu w stosunku do nadrzędnego.
- relationship
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcRelationship
Określa relację do obiektu nadrzędnego.
- containerType
Typ: System.Type
Type Ładowni kontener.
- attributes
Typ: System.ComponentModel.AttributeCollection
Kolekcja atrybutów.