ISharePointConnection Interface

 

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.

Namespace:   Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

public interface class ISharePointConnection : IDisposable

NameDescription
System_CAPS_pubpropertyAuthenticationMode

Gets the authentication mode for this SharePoint connection.

System_CAPS_pubpropertyIsEnabled

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

System_CAPS_pubpropertySiteUrl

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

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodExecuteCommand(String^)

Executes the SharePoint command with the specified identifier.

System_CAPS_pubmethodExecuteCommand<TResult>(String^)

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

System_CAPS_pubmethodExecuteCommand<T>(String^, T)

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

System_CAPS_pubmethodExecuteCommand<T, TResult>(String^, T)

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

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.

Return to top
Show: