ServerConnection.UseMode Property

Gets or sets the server connection using a specified mode.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Shared Property UseMode As DeferredUseMode
    Get
    Set
'Usage
Dim value As DeferredUseMode

value = ServerConnection.UseMode

ServerConnection.UseMode = value
public static DeferredUseMode UseMode { get; set; }
public:
static property DeferredUseMode UseMode {
    DeferredUseMode get ();
    void set (DeferredUseMode value);
}
static member UseMode : DeferredUseMode with get, set
static function get UseMode () : DeferredUseMode
static function set UseMode (value : DeferredUseMode)

Property Value

Type: Microsoft.SqlServer.Management.Common.DeferredUseMode
The specified mode for the connection.