コード例 #1
0
ファイル: rdsmon.Designer.cs プロジェクト: nairraf/RDSMon
 /// <summary>
 /// Create a new currentSessions object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="userName">Initial value of the userName property.</param>
 /// <param name="domainName">Initial value of the domainName property.</param>
 /// <param name="rdsSessionID">Initial value of the rdsSessionID property.</param>
 /// <param name="serverName">Initial value of the serverName property.</param>
 /// <param name="serverIPAddress">Initial value of the serverIPAddress property.</param>
 /// <param name="clusterName">Initial value of the clusterName property.</param>
 /// <param name="sessionCreateTime">Initial value of the sessionCreateTime property.</param>
 /// <param name="lastUpdated">Initial value of the lastUpdated property.</param>
 /// <param name="stateChangeCount">Initial value of the stateChangeCount property.</param>
 public static currentSessions CreatecurrentSessions(global::System.Int32 id, global::System.String userName, global::System.String domainName, global::System.Int32 rdsSessionID, global::System.String serverName, global::System.String serverIPAddress, global::System.String clusterName, global::System.DateTime sessionCreateTime, global::System.DateTime lastUpdated, global::System.Int16 stateChangeCount)
 {
     currentSessions currentSessions = new currentSessions();
     currentSessions.id = id;
     currentSessions.userName = userName;
     currentSessions.domainName = domainName;
     currentSessions.rdsSessionID = rdsSessionID;
     currentSessions.serverName = serverName;
     currentSessions.serverIPAddress = serverIPAddress;
     currentSessions.clusterName = clusterName;
     currentSessions.sessionCreateTime = sessionCreateTime;
     currentSessions.lastUpdated = lastUpdated;
     currentSessions.stateChangeCount = stateChangeCount;
     return currentSessions;
 }
コード例 #2
0
ファイル: rdsmon.Designer.cs プロジェクト: nairraf/RDSMon
 /// <summary>
 /// Deprecated Method for adding a new object to the currentSessions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocurrentSessions(currentSessions currentSessions)
 {
     base.AddObject("currentSessions", currentSessions);
 }