指定した親列と名前に基づいて、RegSvrSmoObject オブジェクトの新しいインスタンスを初期化します。
名前空間: Microsoft.SqlServer.Management.Smo.RegisteredServers
アセンブリ: Microsoft.SqlServer.SmoExtended (Microsoft.SqlServer.SmoExtended.dll)
構文
'宣言
Protected Friend Sub New ( _
parentColl As RegSvrCollectionBase, _
name As String _
)
'使用
Dim parentColl As RegSvrCollectionBase
Dim name As String
Dim instance As New RegSvrSmoObject(parentColl, _
name)
protected internal RegSvrSmoObject(
RegSvrCollectionBase parentColl,
string name
)
protected public:
RegSvrSmoObject(
RegSvrCollectionBase^ parentColl,
String^ name
)
new :
parentColl:RegSvrCollectionBase *
name:string -> RegSvrSmoObject
function RegSvrSmoObject(
parentColl : RegSvrCollectionBase,
name : String
)
パラメーター
- parentColl
型: Microsoft.SqlServer.Management.Smo.RegisteredServers.RegSvrCollectionBase
親オブジェクトを示す RegSvrCollectionBase オブジェクトです。
- name
型: System.String
オブジェクトの名前を示す String 値です。