共用方式為


SfcSkuAttribute 建構函式 (String[], Boolean)

Initializes a new instance of the SfcSkuAttribute class with the specified names of SKU. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Sub New ( _
    skuNames As String(), _
    exclusive As Boolean _
)
'用途
Dim skuNames As String()
Dim exclusive As Boolean

Dim instance As New SfcSkuAttribute(skuNames, _
    exclusive)
public SfcSkuAttribute(
    string[] skuNames,
    bool exclusive
)
public:
SfcSkuAttribute(
    array<String^>^ skuNames, 
    bool exclusive
)
new : 
        skuNames:string[] * 
        exclusive:bool -> SfcSkuAttribute
public function SfcSkuAttribute(
    skuNames : String[], 
    exclusive : boolean
)

參數

  • exclusive
    型別:System. . :: . .Boolean
    Indicates whether the list of specified SKU is exclusive or inclusive.