Compartir a través de


XPathExpression.GetAttribute Method

Returns the value of the attribute of the Xpath expression.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)

Sintaxis

'Declaración
Public Function GetAttribute ( _
    attributeName As String, _
    type As String _
) As String
public string GetAttribute (
    string attributeName,
    string type
)
public:
String^ GetAttribute (
    String^ attributeName, 
    String^ type
)
public String GetAttribute (
    String attributeName, 
    String type
)
public function GetAttribute (
    attributeName : String, 
    type : String
) : String

Parámetros

  • attributeName
    A String value that specifies the name of the attribute.
  • type
    A String value that specifies the type of attribute.

Valor devuelto

A String value that specifies the attribute value.

Notas

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Ejemplo

How to: Use an SMO Method with a Parameter in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

XPathExpression Class
XPathExpression Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

SQLXML 4.0 Programming