Share via


XPathExpression.GetAttribute メソッド

フィルターから指定されたレベルの属性を取得します。 このメンバーをコード内で直接参照しないでください。このメンバーは、SQL Server インフラストラクチャをサポートしています。

名前空間:  Microsoft.SqlServer.Management.Sdk.Sfc
アセンブリ:  Microsoft.SqlServer.Management.Sdk.Sfc (Microsoft.SqlServer.Management.Sdk.Sfc.dll)

構文

'宣言
Public Function GetAttribute ( _
    attributeName As String, _
    type As String _
) As String
'使用
Dim instance As XPathExpression 
Dim attributeName As String 
Dim type As String 
Dim returnValue As String 

returnValue = instance.GetAttribute(attributeName, _
    type)
public string GetAttribute(
    string attributeName,
    string type
)
public:
String^ GetAttribute(
    String^ attributeName, 
    String^ type
)
member GetAttribute : 
        attributeName:string * 
        type:string -> string
public function GetAttribute(
    attributeName : String, 
    type : String
) : String

パラメーター

戻り値

型: System.String
フィルターから取得される、指定されたレベルの属性です。

関連項目

参照

XPathExpression クラス

Microsoft.SqlServer.Management.Sdk.Sfc 名前空間