Partager via


Constructeur RegSvrSmoObject (RegSvrCollectionBase, String)

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Protected Friend Sub New ( _
    parentColl As RegSvrCollectionBase, _
    name As String _
)
'Utilisation
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
)

Paramètres