次の方法で共有


SmoApplication.SqlServerRegistrations.RegisteredServers Property

RegisteredServer オブジェクトのコレクションを表します。各 RegisteredServer オブジェクトは、SmoApplication オブジェクトで定義された登録済みサーバーを表します。

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

構文

'宣言
Public Shared ReadOnly Property RegisteredServers As RegisteredServerCollection
public static RegisteredServerCollection RegisteredServers { get; }
public:
static property RegisteredServerCollection^ RegisteredServers {
    RegisteredServerCollection^ get ();
}
/** @property */
public static RegisteredServerCollection get_RegisteredServers ()
public static function get RegisteredServers () : RegisteredServerCollection

プロパティ値

SmoApplication オブジェクトで定義されたすべての登録済みサーバーを表す RegisteredServerCollection オブジェクトです。

解説

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

使用例

Visual Basic .NET でイベント ハンドラの登録およびイベント ハンドリングのサブスクライブを行う方法

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

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

対象プラットフォーム

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

参照

関連項目

SmoApplication.SqlServerRegistrations Class
SmoApplication.SqlServerRegistrations Members
Microsoft.SqlServer.Management.Smo Namespace

その他の技術情報

SMO イベントの処理