Share via


LinkedServer.Drop 메서드 (Boolean)

Removes the reference to the linked server from the instance of SQL Server.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub Drop ( _
    dropDependentLogins As Boolean _
)
‘사용 방법
Dim instance As LinkedServer 
Dim dropDependentLogins As Boolean

instance.Drop(dropDependentLogins)
public void Drop(
    bool dropDependentLogins
)
public:
void Drop(
    bool dropDependentLogins
)
member Drop : 
        dropDependentLogins:bool -> unit
public function Drop(
    dropDependentLogins : boolean
)

매개 변수

  • dropDependentLogins
    유형: System.Boolean
    A Boolean value that specifies whether to also drop logins that are dependent on the linked server that are represented by the LinkedServerLogins property.If True, the dependent logins are dropped. Otherwise, False.

주의

This method removes the registration item that represents a linked server. It does not remove an instance of SQL Server.

SMO에서 연결된 서버 사용

참고 항목

참조

LinkedServer 클래스

Drop 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

연결된 서버(데이터베이스 엔진)

sp_addlinkedserver(Transact-SQL)