SNIOpenMarsSession() 정적인 개인적인 메소드

static private SNIOpenMarsSession ( ConsumerInfo consumerInfo, System.Data.SqlClient.SNIHandle parent, IntPtr &pConn, bool fSync ) : uint
consumerInfo ConsumerInfo
parent System.Data.SqlClient.SNIHandle
pConn IntPtr
fSync bool
리턴 uint
예제 #1
0
 // constructs SNI Handle for MARS session
 internal SNIHandle(SNINativeMethodWrapper.ConsumerInfo myInfo, SNIHandle parent) : base(IntPtr.Zero, true)
 {
     RuntimeHelpers.PrepareConstrainedRegions();
     try {} finally {
         _status = SNINativeMethodWrapper.SNIOpenMarsSession(myInfo, parent, ref base.handle, parent._fSync);
     }
 }
 // constructs SNI Handle for MARS session
 internal SNIHandle(SNINativeMethodWrapper.ConsumerInfo myInfo, SNIHandle parent) : base(IntPtr.Zero, true)
 {
     try { }
     finally
     {
         _status = SNINativeMethodWrapper.SNIOpenMarsSession(myInfo, parent, ref base.handle, parent._fSync);
     }
 }