مشاركة عبر


LinkedServerLogin.Create Method

Creates a linked server logon as defined by the LinkedServerLogin object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Create
'Usage
Dim instance As LinkedServerLogin

instance.Create()
public void Create()
public:
virtual void Create() sealed
abstract Create : unit -> unit  
override Create : unit -> unit
public final function Create()

Implements

ICreatable.Create()

Remarks

This method creates a SQL Server logon account that can connect to the linked server.

Examples

Using Linked Servers in SMO

See Also

Reference

LinkedServerLogin Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Linked Servers (Database Engine)

sp_addlinkedsrvlogin (Transact-SQL)