XPathExpression.GetAttribute Método
Retrieves attribute for the given level from the filter. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Function GetAttribute ( _
attributeName As String, _
type As String _
) As String
'Uso
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
Parámetros
- attributeName
Tipo: System.String
A String that specifies the attribute name.
- type
Tipo: System.String
A String that specifies the level name.
Valor devuelto
Tipo: System.String
An attribute for the given level from the filter.