Construtor SfcObjectAttribute (SfcContainerCardinality, Type, SfcObjectFlags)
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, _
flags As SfcObjectFlags _
)
'Uso
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
)
Parâmetros
- cardinality
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata. . :: . .SfcContainerCardinality
A SfcContainerCardinality that specifies the cardinality of the type.
- containsType
Tipo: System. . :: . .Type
The Type the container holds.
- flags
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata. . :: . .SfcObjectFlags
The SfcObjectFlags associated with the instance.
Consulte também