共用方式為


UseMode 屬性

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
Public Shared Property UseMode As DeferredUseMode
    Get
    Set
'用途
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)