ISharePointConnection Interface

Definition

Provides methods you can use to execute SharePoint commands that call into the SharePoint server object model from an extension of the SharePoint tools in Visual Studio.

public interface class ISharePointConnection : IDisposable
public interface ISharePointConnection : IDisposable
type ISharePointConnection = interface
    interface IDisposable
Public Interface ISharePointConnection
Implements IDisposable
Implements

Remarks

SharePoint commands are methods that can be used in a SharePoint tools extension to call into the SharePoint server object model. After you define a SharePoint command, you can execute it by obtaining an ISharePointConnection object and then calling one of the ExecuteCommand methods. For more information, see How to: Execute a SharePoint Command.

Properties

AuthenticationMode

Gets the authentication mode for this SharePoint connection.

IsEnabled

Gets or sets the flag indicating if the connection is enabled.

SiteUrl

Gets the URL to the SharePoint site that is connected to.

Methods

ExecuteCommand(String)

Executes the SharePoint command with the specified identifier.

ExecuteCommand<T,TResult>(String, T)

Executes the SharePoint command with the specified identifier, parameter type, and return value type.

ExecuteCommand<T>(String, T)

Executes the SharePoint command with the specified identifier and parameter type.

ExecuteCommand<TResult>(String)

Executes the SharePoint command with the specified identifier and return value type.

Applies to