Esempio n. 1
0
 public ServerLinkUser(string userID, ServerLink serverLink, string serverLinkUserID, string serverLinkPassword) : base()
 {
     UserID             = userID;
     ServerLink         = serverLink;
     ServerLinkUserID   = serverLinkUserID;
     ServerLinkPassword = serverLinkPassword;
 }
Esempio n. 2
0
 private void PopulateServerLinkUsers(Program program, NativeTable nativeTable, Row row)
 {
     foreach (Schema.Object objectValue in program.Catalog)
     {
         Schema.ServerLink serverLink = objectValue as Schema.ServerLink;
         if (serverLink != null)
         {
             foreach (ServerLinkUser linkUser in serverLink.Users.Values)
             {
                 row[0] = linkUser.UserID;
                 row[1] = serverLink.Name;
                 row[2] = linkUser.ServerLinkUserID;
                 nativeTable.Insert(program.ValueManager, row);
             }
         }
     }
 }
Esempio n. 3
0
 private void PopulateServerLinks(Program program, NativeTable nativeTable, Row row)
 {
     foreach (Schema.Object objectValue in program.Catalog)
     {
         Schema.ServerLink serverLink = objectValue as Schema.ServerLink;
         if (serverLink != null)
         {
             row[0] = serverLink.ID;
             row[1] = serverLink.Name;
             row[2] = serverLink.Library.Name;
             row[3] = serverLink.Owner.ID;
             row[4] = serverLink.IsSystem;
             row[5] = serverLink.IsGenerated;
             row[6] = serverLink.HostName;
             row[7] = serverLink.InstanceName;
             row[8] = serverLink.OverridePortNumber;
             row[9] = serverLink.UseSessionInfo;
             nativeTable.Insert(program.ValueManager, row);
         }
     }
 }