Compartilhar via


Construtor SfcObjectAttribute (SfcContainerCardinality, Type)

Initializes a new instance of the SfcObjectAttribute class with the specified type and cardinality. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public Sub New ( _
    cardinality As SfcContainerCardinality, _
    containsType As Type _
)
'Uso
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
)

Parâmetros