ISharePointConnection 인터페이스

Visual Studio의 SharePoint 도구 확장에서 SharePoint 서버 개체 모델을 호출하는 SharePoint 명령을 실행하는 데 사용할 수 있는 메서드를 제공합니다.

네임스페이스:  Microsoft.VisualStudio.SharePoint
어셈블리:  Microsoft.VisualStudio.SharePoint(Microsoft.VisualStudio.SharePoint.dll)

구문

‘선언
Public Interface ISharePointConnection
public interface ISharePointConnection

메서드

  이름 설명
Public 메서드 ExecuteCommand(String) 지정된 식별자를 사용하는 SharePoint 명령을 실행합니다.
Public 메서드 ExecuteCommand<TResult>(String) 지정된 식별자와 반환 값 형식을 사용하는 SharePoint 명령을 실행합니다.
Public 메서드 ExecuteCommand<T>(String, T) 지정된 식별자와 매개 변수 형식을 사용하는 SharePoint 명령을 실행합니다.
Public 메서드 ExecuteCommand<T, TResult>(String, T) 지정된 식별자, 매개 변수 형식 및 반환 값 형식을 사용하는 SharePoint 명령을 실행합니다.

위쪽

설명

SharePoint 명령은 SharePoint 도구 확장에서 SharePoint 서버 개체 모델을 호출하는 데 사용할 수 있는 메서드입니다. SharePoint 명령을 정의한 후 ISharePointConnection 개체를 가져와 ExecuteCommand 메서드 중 하나를 호출하여 실행할 수 있습니다. 자세한 내용은 방법: SharePoint 명령 실행을 참조하십시오.

참고 항목

참조

Microsoft.VisualStudio.SharePoint 네임스페이스

기타 리소스

SharePoint 개체 모델 호출

방법: SharePoint 명령 만들기

방법: SharePoint 명령 실행