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

Run() 공개 정적인 메소드

public static Run ( ) : void
리턴 void
        public static void Run()
        {
            // ExStart:DeletePrivateDistributionList
            IEWSClient client = EWSClient.GetEWSClient("https://outlook.office365.com/ews/exchange.asmx", "testUser", "pwd", "domain");
            ExchangeDistributionList[] distributionLists = client.ListDistributionLists();
            client.DeleteDistributionList(distributionLists[0],true);
            // ExEnd:DeletePrivateDistributionList
        }
    }
DeletePrivateDistributionList