Поделиться через


Метод XPathExpression.GetAttribute

Retrieves attribute for the given level from the filter. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры 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
An attribute for the given level from the filter.

См. также

Справочник

XPathExpression Класс

Пространство имен Microsoft.SqlServer.Management.Sdk.Sfc