Condividi tramite


Urn.GetAttribute Method (String, String)

Returns the specified attribute value for the Urn object.

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)

Sintassi

'Dichiarazione
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

Parametri

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

Valore restituito

A String value that specifies the attribute value.

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempio

How to: Script Out the Dependencies for a Database in Visual Basic .NET

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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