Construtor SfcMetadataRelation (String, Type, SfcCardinality, SfcRelationship, Type, SfcPropertyFlags, Object, AttributeCollection)
Initializes a new instance of the SfcMetadataRelation class with the specified parameters. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
Public Sub New ( _
propertyName As String, _
type As Type, _
cardinality As SfcCardinality, _
relationship As SfcRelationship, _
containerType As Type, _
flags As SfcPropertyFlags, _
defaultValue As Object, _
attributes As AttributeCollection _
)
'Uso
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 defaultValue As Object
Dim attributes As AttributeCollection
Dim instance As New SfcMetadataRelation(propertyName, _
type, cardinality, relationship, _
containerType, flags, defaultValue, _
attributes)
public SfcMetadataRelation(
string propertyName,
Type type,
SfcCardinality cardinality,
SfcRelationship relationship,
Type containerType,
SfcPropertyFlags flags,
Object defaultValue,
AttributeCollection attributes
)
public:
SfcMetadataRelation(
String^ propertyName,
Type^ type,
SfcCardinality cardinality,
SfcRelationship relationship,
Type^ containerType,
SfcPropertyFlags flags,
Object^ defaultValue,
AttributeCollection^ attributes
)
new :
propertyName:string *
type:Type *
cardinality:SfcCardinality *
relationship:SfcRelationship *
containerType:Type *
flags:SfcPropertyFlags *
defaultValue:Object *
attributes:AttributeCollection -> SfcMetadataRelation
public function SfcMetadataRelation(
propertyName : String,
type : Type,
cardinality : SfcCardinality,
relationship : SfcRelationship,
containerType : Type,
flags : SfcPropertyFlags,
defaultValue : Object,
attributes : AttributeCollection
)
Parâmetros
- propertyName
Tipo: System.String
A String that specifies the name of the property.
- type
Tipo: System.Type
Specifies the type.
- cardinality
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcCardinality
The SfcObjectCardinality cardinality of the type in relationship to its parent.
- relationship
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcRelationship
Specifies the relationship to its parent.
- containerType
Tipo: System.Type
The Type the container holds.
- flags
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags
The specified flags.
- defaultValue
Tipo: System.Object
Specifies the default value of the property.
- attributes
Tipo: System.ComponentModel.AttributeCollection
Specifies the list of attributes.