CreateDomain() публичный Метод

public CreateDomain ( GlymaSessionConfiguration configuration, string name ) : MapResponse
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
name string
Результат TransactionalNodeService.Common.MapResponse
 public MapResponse CreateDomain(string callingUrl, string name)
 {
     using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
     {
         return nodeServiceClient.CreateDomain(callingUrl, name);
     }
 }
Пример #2
0
 public MapResponse CreateDomain(string callingUrl, string name)
 {
     using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
     {
         return(nodeServiceClient.CreateDomain(callingUrl, name));
     }
 }
        public MapResponse CreateDomain(string callingUrl, string name)
        {
            using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
            {
                using (WebAppSPGlymaSession glymaSession = new WebAppSPGlymaSession(callingUrl, null, null, SPGlymaRightFactory.Instance.ProjectCreateRight))
                {
                    GlymaSessionConfiguration configuration = glymaSession.ExportGlymaSession();

                    return(nodeServiceClient.CreateDomain(configuration, name));
                }
            }
        }
        public MapResponse CreateDomain(string callingUrl, string name)
        {
            using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
            {
                using (WebAppSPGlymaSession glymaSession = new WebAppSPGlymaSession(callingUrl, null, null, SPGlymaRightFactory.Instance.ProjectCreateRight))
                {
                    GlymaSessionConfiguration configuration = glymaSession.ExportGlymaSession();

                    return nodeServiceClient.CreateDomain(configuration, name);
                }
            }
        }