Aspose.Email.Examples.CSharp.Email.Exchange.DeleteWithoutListing.Run C# (CSharp) 메소드

Run() 공개 정적인 메소드

public static Run ( ) : void
리턴 void
        public static void Run()
        {
            // ExStart:DeleteWithoutListing
            IEWSClient client = EWSClient.GetEWSClient("https://outlook.office365.com/ews/exchange.asmx", "testUser", "pwd", "domain");
            ExchangeDistributionList distributionList = new ExchangeDistributionList();
            distributionList.Id = "list's id";
            client.DeleteDistributionList(distributionList,true);
            // ExEnd:DeleteWithoutListing
        }
    }
DeleteWithoutListing