Condividi tramite


Metodo GetAttribute

Retrieves attribute for the given level from the filter. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Function GetAttribute ( _
    attributeName As String, _
    type As String _
) As String
'Utilizzo
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

Parametri

Valore restituito

Tipo: System. . :: . .String
An attribute for the given level from the filter.