C# Class Microsoft.SqlServer.TDS.EnvChange.TDSEnvChangeToken

Environment change token "ENVCHANGE"
Inheritance: TDSPacketToken
Mostrar archivo Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Deflate ( Stream destination ) : void

Deflate the token

Inflate ( Stream source ) : bool

Inflate the token NOTE: This operation is not continuable and assumes that the entire token is available in the stream

TDSEnvChangeToken ( ) : System

Default constructor

TDSEnvChangeToken ( TDSEnvChangeTokenType type ) : System

Initialization constructor

TDSEnvChangeToken ( TDSEnvChangeTokenType type, object newValue ) : System

Initialization constructor

TDSEnvChangeToken ( TDSEnvChangeTokenType type, object newValue, object oldValue ) : System

Initialization constructor

Method Details

Deflate() public method

Deflate the token
public Deflate ( Stream destination ) : void
destination Stream Stream to deflate token to
return void

Inflate() public method

Inflate the token NOTE: This operation is not continuable and assumes that the entire token is available in the stream
public Inflate ( Stream source ) : bool
source Stream Stream to inflate the token from
return bool

TDSEnvChangeToken() public method

Default constructor
public TDSEnvChangeToken ( ) : System
return System

TDSEnvChangeToken() public method

Initialization constructor
public TDSEnvChangeToken ( TDSEnvChangeTokenType type ) : System
type TDSEnvChangeTokenType
return System

TDSEnvChangeToken() public method

Initialization constructor
public TDSEnvChangeToken ( TDSEnvChangeTokenType type, object newValue ) : System
type TDSEnvChangeTokenType
newValue object
return System

TDSEnvChangeToken() public method

Initialization constructor
public TDSEnvChangeToken ( TDSEnvChangeTokenType type, object newValue, object oldValue ) : System
type TDSEnvChangeTokenType
newValue object
oldValue object
return System