SfcMetadataRelation-Konstruktor (String, Type, SfcCardinality, SfcRelationship, AttributeCollection)
Initializes a new instance of the SfcMetadataRelation class with the specified parameters. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Sub New ( _
propertyName As String, _
type As Type, _
cardinality As SfcCardinality, _
relationship As SfcRelationship, _
attributes As AttributeCollection _
)
'Usage
Dim propertyName As String
Dim type As Type
Dim cardinality As SfcCardinality
Dim relationship As SfcRelationship
Dim attributes As AttributeCollection
Dim instance As New SfcMetadataRelation(propertyName, _
type, cardinality, relationship, _
attributes)
public SfcMetadataRelation(
string propertyName,
Type type,
SfcCardinality cardinality,
SfcRelationship relationship,
AttributeCollection attributes
)
public:
SfcMetadataRelation(
String^ propertyName,
Type^ type,
SfcCardinality cardinality,
SfcRelationship relationship,
AttributeCollection^ attributes
)
new :
propertyName:string *
type:Type *
cardinality:SfcCardinality *
relationship:SfcRelationship *
attributes:AttributeCollection -> SfcMetadataRelation
public function SfcMetadataRelation(
propertyName : String,
type : Type,
cardinality : SfcCardinality,
relationship : SfcRelationship,
attributes : AttributeCollection
)
Parameter
- propertyName
Typ: System. . :: . .String
A String that specifies the name of the property.
- type
Typ: System. . :: . .Type
Specifies the type.
- cardinality
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata. . :: . .SfcCardinality
The SfcObjectCardinality cardinality of the type in relationship to its parent.
- relationship
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata. . :: . .SfcRelationship
Specifies the relationship to its parent.
- attributes
Typ: System.ComponentModel. . :: . .AttributeCollection
Specifies the list of attributes.