Konstruktor SfcMetadataRelation (String, Type, SfcCardinality, SfcRelationship, Type, SfcPropertyFlags, 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, _
flags As SfcPropertyFlags, _
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 flags As SfcPropertyFlags
Dim attributes As AttributeCollection
Dim instance As New SfcMetadataRelation(propertyName, _
type, cardinality, relationship, _
containerType, flags, attributes)
public SfcMetadataRelation(
string propertyName,
Type type,
SfcCardinality cardinality,
SfcRelationship relationship,
Type containerType,
SfcPropertyFlags flags,
AttributeCollection attributes
)
public:
SfcMetadataRelation(
String^ propertyName,
Type^ type,
SfcCardinality cardinality,
SfcRelationship relationship,
Type^ containerType,
SfcPropertyFlags flags,
AttributeCollection^ attributes
)
new :
propertyName:string *
type:Type *
cardinality:SfcCardinality *
relationship:SfcRelationship *
containerType:Type *
flags:SfcPropertyFlags *
attributes:AttributeCollection -> SfcMetadataRelation
public function SfcMetadataRelation(
propertyName : String,
type : Type,
cardinality : SfcCardinality,
relationship : SfcRelationship,
containerType : Type,
flags : SfcPropertyFlags,
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.
- flags
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags
Określone flagi.
- attributes
Typ: System.ComponentModel.AttributeCollection
Kolekcja atrybutów.