LinkedServerCollection.Add Method
Adds the specified object to the referenced collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
linkedServer As LinkedServer _
)
'Usage
Dim instance As LinkedServerCollection
Dim linkedServer As LinkedServer
instance.Add(linkedServer)
public void Add(
LinkedServer linkedServer
)
public:
void Add(
LinkedServer^ linkedServer
)
member Add :
linkedServer:LinkedServer -> unit
public function Add(
linkedServer : LinkedServer
)
Parameters
- linkedServer
Type: Microsoft.SqlServer.Management.Smo.LinkedServer
A LinkedServer object that specifies the object to be added to the collection.