SfcMetadataRelation Constructor (String, Type, SfcCardinality, SfcRelationship, Type, SfcPropertyFlags, AttributeCollection)
Do not reference this member directly in your code. It supports the SQL Server infrastructure.
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, _
containerType As Type, _
flags As SfcPropertyFlags, _
attributes As AttributeCollection _
)
'Usage
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
)
Parameters
- propertyName
Type: System.String
A String that specifies the name of the property.
- type
Type: System.Type
The specified type of the property.
- cardinality
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcCardinality
The SfcObjectCardinality cardinality of the type in relationship to its parent.
- relationship
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcRelationship
Specifies the relationship to its parent.
- containerType
Type: System.Type
The Type the container holds.
- flags
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags
The specified flags.
- attributes
Type: System.ComponentModel.AttributeCollection
A collection of attributes.