Share via


SfcObjectAttribute Constructor (SfcContainerCardinality, Type)

Initializes a new instance of the SfcObjectAttribute class with the specified type and cardinality. 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 ( _
    cardinality As SfcContainerCardinality, _
    containsType As Type _
)
'Usage
Dim cardinality As SfcContainerCardinality
Dim containsType As Type

Dim instance As New SfcObjectAttribute(cardinality, _
    containsType)
public SfcObjectAttribute(
    SfcContainerCardinality cardinality,
    Type containsType
)
public:
SfcObjectAttribute(
    SfcContainerCardinality cardinality, 
    Type^ containsType
)
new : 
        cardinality:SfcContainerCardinality * 
        containsType:Type -> SfcObjectAttribute
public function SfcObjectAttribute(
    cardinality : SfcContainerCardinality, 
    containsType : Type
)

Parameters