Konstruktor SfcObjectAttribute (SfcObjectRelationship, SfcObjectCardinality, SfcObjectFlags)
Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
Zestaw: Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Składnia
'Deklaracja
Public Sub New ( _
relationship As SfcObjectRelationship, _
cardinality As SfcObjectCardinality, _
flags As SfcObjectFlags _
)
'Użycie
Dim relationship As SfcObjectRelationship
Dim cardinality As SfcObjectCardinality
Dim flags As SfcObjectFlags
Dim instance As New SfcObjectAttribute(relationship, _
cardinality, flags)
public SfcObjectAttribute(
SfcObjectRelationship relationship,
SfcObjectCardinality cardinality,
SfcObjectFlags flags
)
public:
SfcObjectAttribute(
SfcObjectRelationship relationship,
SfcObjectCardinality cardinality,
SfcObjectFlags flags
)
new :
relationship:SfcObjectRelationship *
cardinality:SfcObjectCardinality *
flags:SfcObjectFlags -> SfcObjectAttribute
public function SfcObjectAttribute(
relationship : SfcObjectRelationship,
cardinality : SfcObjectCardinality,
flags : SfcObjectFlags
)
Parametry
- relationship
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectRelationship
Określa relację do obiektu nadrzędnego.
- cardinality
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectCardinality
A SfcContainerCardinality , który określa kardynalność typu.
- flags
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectFlags
Określone flagi.