次の方法で共有


Urn.GetAttribute Method (String, String)

Urn オブジェクトの指定した属性値を返します。

名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.SmoEnum (microsoft.sqlserver.smoenum.dll 内)

構文

'宣言
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

パラメータ

  • attributeName
    属性名を示す String 値です。
  • type
    属性の型を示す String 値です。

戻り値

属性値を示す String 値です。

解説

この名前空間、クラス、またはメンバは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

使用例

Visual Basic .NET でデータベースの依存関係のスクリプトを作成する方法

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

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