SfcObjectAttribute 建構函式 (Type, SfcObjectFlags)
Initializes a new instance of the SfcObjectAttribute class with the specified flag and the type contains. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Sub New ( _
containsType As Type, _
flags As SfcObjectFlags _
)
'用途
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
)
參數
- containsType
型別:System. . :: . .Type
The Type the container holds.
- flags
型別:Microsoft.SqlServer.Management.Sdk.Sfc.Metadata. . :: . .SfcObjectFlags
The specified flag.