コード例 #1
0
 public static String PostBlogEntry(String blogGuid, List <Author> authorList, String title, String content, DateTime dateTime, String blogEntryTypeGuid, List <Label> labelList, Boolean publish, String username, String password)
 {
     using (BlogClient blogClient = new BlogClient(BlogSection.GetConfigSection().Service.Endpoint.Blog))
     {
         blogClient.ClientCredentials.UserName.UserName = username;
         blogClient.ClientCredentials.UserName.Password = password;
         //+
         return(blogClient.PostBlogEntry(blogGuid, authorList, title, content, dateTime, blogEntryTypeGuid, labelList, publish));
     }
 }