다음을 통해 공유


AutoDisconnectMode 속성

Gets or sets the automatic disconnection mode of the referenced connection to the instance of SQL Server.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo.dll의 Microsoft.SqlServer.ConnectionInfo

구문

‘선언
Public Property AutoDisconnectMode As AutoDisconnectMode
    Get
    Set
‘사용 방법
Dim instance As ConnectionManager
Dim value As AutoDisconnectMode

value = instance.AutoDisconnectMode

instance.AutoDisconnectMode = value
public AutoDisconnectMode AutoDisconnectMode { get; set; }
public:
property AutoDisconnectMode AutoDisconnectMode {
    AutoDisconnectMode get ();
    void set (AutoDisconnectMode value);
}
member AutoDisconnectMode : AutoDisconnectMode with get, set
function get AutoDisconnectMode () : AutoDisconnectMode
function set AutoDisconnectMode (value : AutoDisconnectMode)

속성 값

형식: Microsoft.SqlServer.Management.Common. . :: . .AutoDisconnectMode
A AutoDisconnectMode object value that specifies the automatic disconnection mode of the referenced connection.