Konstruktor RegSvrSmoObject (RegSvrCollectionBase, String)
Inicjuje nowe wystąpienie RegSvrSmoObject obiektu na podstawie kolumna nadrzędny określonego i nazwy.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.RegisteredServers
Zestaw: Microsoft.SqlServer.SmoExtended (w Microsoft.SqlServer.SmoExtended.dll)
Składnia
'Deklaracja
Protected Friend Sub New ( _
parentColl As RegSvrCollectionBase, _
name As String _
)
'Użycie
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
)
Parametry
- parentColl
Typ: Microsoft.SqlServer.Management.Smo.RegisteredServers.RegSvrCollectionBase
A RegSvrCollectionBase obiekt, który określa obiekt nadrzędny.
- name
Typ: System.String
A String wartość, która określa nazwę obiektu.