SfcObjectAttribute Constructor (SfcContainerRelationship, SfcContainerCardinality, Type, SfcObjectFlags)
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, _
flags As SfcObjectFlags _
)
'Usage
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
)
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.
- flags
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectFlags
The specified flags.