SfcMetadataRelation-Konstruktor (String, Type, SfcCardinality, AttributeCollection)
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, _
attributes As AttributeCollection _
)
'Usage
Dim propertyName As String
Dim type As Type
Dim cardinality As SfcCardinality
Dim attributes As AttributeCollection
Dim instance As New SfcMetadataRelation(propertyName, _
type, cardinality, attributes)
public SfcMetadataRelation(
string propertyName,
Type type,
SfcCardinality cardinality,
AttributeCollection attributes
)
public:
SfcMetadataRelation(
String^ propertyName,
Type^ type,
SfcCardinality cardinality,
AttributeCollection^ attributes
)
new :
propertyName:string *
type:Type *
cardinality:SfcCardinality *
attributes:AttributeCollection -> SfcMetadataRelation
public function SfcMetadataRelation(
propertyName : String,
type : Type,
cardinality : SfcCardinality,
attributes : AttributeCollection
)
Parameter
- propertyName
Typ: System. . :: . .String
A string that specifies the name of the property.
- type
Typ: System. . :: . .Type
The specified type of the property.
- cardinality
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata. . :: . .SfcCardinality
The cardinality in relationship with parent.
- attributes
Typ: System.ComponentModel. . :: . .AttributeCollection
A collection of attributes.