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