Provides the client with all of the information that they must know in order to work with the TeamFoundationConnection object. Properties of ConnectionData that do not have a corresponding entries in connectOptions cost very little to calculate and will be returned every type.
If no changes have occurred since lastChangeId, no service data will be returned. If this is the first time this method is being called or the caller wants all of the information returned then -1 should be passed for lastChangeId.
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
'Declaration <WebMethodAttribute> _ Public Function Connect ( _ connectOptions As Integer, _ lastChangeId As Integer, _ features As Integer _ ) As ConnectionData
[WebMethodAttribute] public ConnectionData Connect( int connectOptions, int lastChangeId, int features )
[WebMethodAttribute] public: ConnectionData^ Connect( int connectOptions, int lastChangeId, int features )
[<WebMethodAttribute>] member Connect : connectOptions:int * lastChangeId:int * features:int -> ConnectionData
public function Connect( connectOptions : int, lastChangeId : int, features : int ) : ConnectionData
Bit flags that represent what data should be returned by the method. Each bit is an option, the valid bits are as follows: None = 0, IncludeServices = 1. By default, the username, client access mapping and server version will be returned.
The lastChangeId value that was returned the last time this information was updated.
ConnectionProperties for the flags that were set to true.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.