共用方式為


XPathExpressionBlock 建構函式 (String, FilterNode)

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

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

語法

'宣告
Public Sub New ( _
    name As String, _
    filter As FilterNode _
)
'用途
Dim name As String
Dim filter As FilterNode

Dim instance As New XPathExpressionBlock(name, filter)
public XPathExpressionBlock(
    string name,
    FilterNode filter
)
public:
XPathExpressionBlock(
    String^ name, 
    FilterNode^ filter
)
new : 
        name:string * 
        filter:FilterNode -> XPathExpressionBlock
public function XPathExpressionBlock(
    name : String, 
    filter : FilterNode
)

參數