Udostępnij przez


Konstruktor SfcObjectAttribute (Type, SfcObjectFlags)

Inicjuje nowe wystąpienie SfcObjectAttribute zawiera klasy określonej flagi i typ.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 ( _
    containsType As Type, _
    flags As SfcObjectFlags _
)
'Użycie
Dim containsType As Type
Dim flags As SfcObjectFlags

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

Parametry