SfcObjectAttribute Constructor (SfcContainerRelationship, SfcContainerCardinality, Type)
Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Sub New ( _
relationship As SfcContainerRelationship, _
cardinality As SfcContainerCardinality, _
containsType As Type _
)
'Usage
Dim relationship As SfcContainerRelationship
Dim cardinality As SfcContainerCardinality
Dim containsType As Type
Dim instance As New SfcObjectAttribute(relationship, _
cardinality, containsType)
public SfcObjectAttribute(
SfcContainerRelationship relationship,
SfcContainerCardinality cardinality,
Type containsType
)
public:
SfcObjectAttribute(
SfcContainerRelationship relationship,
SfcContainerCardinality cardinality,
Type^ containsType
)
new :
relationship:SfcContainerRelationship *
cardinality:SfcContainerCardinality *
containsType:Type -> SfcObjectAttribute
public function SfcObjectAttribute(
relationship : SfcContainerRelationship,
cardinality : SfcContainerCardinality,
containsType : Type
)
Parameters
- relationship
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerRelationship
Specifies the relationship to its parent.
- cardinality
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerCardinality
The SfcObjectCardinality cardinality of the type in relationship to its parent.
- containsType
Type: System.Type
The Type the container holds.