SfcMetadataRelation 建構函式 (String, Type, SfcCardinality, SfcRelationship, AttributeCollection)
Initializes a new instance of the SfcMetadataRelation class with the specified parameters. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Sub New ( _
propertyName As String, _
type As Type, _
cardinality As SfcCardinality, _
relationship As SfcRelationship, _
attributes As AttributeCollection _
)
'用途
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
)
參數
- propertyName
型別:System. . :: . .String
A String that specifies the name of the property.
- type
型別:System. . :: . .Type
Specifies the type.
- cardinality
型別:Microsoft.SqlServer.Management.Sdk.Sfc.Metadata. . :: . .SfcCardinality
The SfcObjectCardinality cardinality of the type in relationship to its parent.
- relationship
型別:Microsoft.SqlServer.Management.Sdk.Sfc.Metadata. . :: . .SfcRelationship
Specifies the relationship to its parent.
- attributes
型別:System.ComponentModel. . :: . .AttributeCollection
Specifies the list of attributes.