RegSvrSmoObject 构造函数 (RegSvrCollectionBase, String)

Initializes a new instance of the RegSvrSmoObject object based on the specified parent column and name.

命名空间:  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
)

参数

请参阅

参考

RegSvrSmoObject 类

RegSvrSmoObject 重载

Microsoft.SqlServer.Management.Smo.RegisteredServers 命名空间