Share via


SfcObjectAttribute Constructor (SfcContainerCardinality, Type, SfcObjectFlags)

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, _
    flags As SfcObjectFlags _
)
'Usage
Dim cardinality As SfcContainerCardinality
Dim containsType As Type
Dim flags As SfcObjectFlags

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

Parameters