共用方式為


SfcMetadataRelation 建構函式 (String, Type, SfcCardinality, SfcRelationship, Type)

不要直接在程式碼中參照此成員。其支援 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, _
    containerType As Type _
)
'用途
Dim propertyName As String 
Dim type As Type 
Dim cardinality As SfcCardinality 
Dim relationship As SfcRelationship 
Dim containerType As Type 

Dim instance As New SfcMetadataRelation(propertyName, _
    type, cardinality, relationship, _
    containerType)
public SfcMetadataRelation(
    string propertyName,
    Type type,
    SfcCardinality cardinality,
    SfcRelationship relationship,
    Type containerType
)
public:
SfcMetadataRelation(
    String^ propertyName, 
    Type^ type, 
    SfcCardinality cardinality, 
    SfcRelationship relationship, 
    Type^ containerType
)
new : 
        propertyName:string * 
        type:Type * 
        cardinality:SfcCardinality * 
        relationship:SfcRelationship * 
        containerType:Type -> SfcMetadataRelation
public function SfcMetadataRelation(
    propertyName : String, 
    type : Type, 
    cardinality : SfcCardinality, 
    relationship : SfcRelationship, 
    containerType : Type
)

參數

  • type
    型別:System.Type
    The specified type of the property.

請參閱

參考

SfcMetadataRelation 類別

SfcMetadataRelation 多載

Microsoft.SqlServer.Management.Sdk.Sfc.Metadata 命名空間