Urn.GetAttribute Method (String)

Returns the specified attribute value for the Urn object.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)

Синтаксис

'Декларация
Public Function GetAttribute ( _
    attributeName As String _
) As String
public string GetAttribute (
    string attributeName
)
public:
String^ GetAttribute (
    String^ attributeName
)
public String GetAttribute (
    String attributeName
)
public function GetAttribute (
    attributeName : String
) : String

Параметры

  • attributeName
    A String value that specifies the attribute name.

Возвращаемое значение

A String value that specifies the attribute value.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

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

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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