Partager via


Méthode Urn.GetAttribute (String, String)

Gets a property value specified by attributeName and type. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Function GetAttribute ( _
    attributeName As String, _
    type As String _
) As String
'Utilisation
Dim instance As Urn 
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

Paramètres

  • attributeName
    Type : System.String
    A string value that specifies the attribute name.
  • type
    Type : System.String
    A string value that specifies the level name.

Valeur de retour

Type : System.String
A string that contains the property value.

Voir aussi

Référence

Urn Classe

Surcharge GetAttribute

Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc