SfcRelationshipAttribute 建構函式 (SfcRelationship, SfcCardinality, Type)
Initializes a new instance of the SfcRelationshipAttribute class with the specified cardinality and relationship to its parent. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Protected Sub New ( _
relationship As SfcRelationship, _
cardinality As SfcCardinality, _
containsType As Type _
)
'用途
Dim relationship As SfcRelationship
Dim cardinality As SfcCardinality
Dim containsType As Type
Dim instance As New SfcRelationshipAttribute(relationship, _
cardinality, containsType)
protected SfcRelationshipAttribute(
SfcRelationship relationship,
SfcCardinality cardinality,
Type containsType
)
protected:
SfcRelationshipAttribute(
SfcRelationship relationship,
SfcCardinality cardinality,
Type^ containsType
)
new :
relationship:SfcRelationship *
cardinality:SfcCardinality *
containsType:Type -> SfcRelationshipAttribute
protected function SfcRelationshipAttribute(
relationship : SfcRelationship,
cardinality : SfcCardinality,
containsType : Type
)
參數
- relationship
型別:Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcRelationship
Specifies the relationship to its parent.
- cardinality
型別:Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcCardinality
Specifies the cardinality of the type in relationship to its parent.
- containsType
型別:System.Type
The Type the container holds.