Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
How to get all the word automation service application proxies in the farm
WhatsApp
Vijai Anand Ramalingam
14y
7.4
k
0
0
25
Blog
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Text;
using
Microsoft.SharePoint;
using
Microsoft.SharePoint.Administration;
using
Microsoft.Office.Word.Server;
using
Microsoft.Office.Word.Server.Service;
namespace
WAS
{
class
Program
{
static
void
Main(
string
[] args)
{
var
applicationProxies =
from
wasProxies
in
SPFarm
.Local.ServiceProxies
from
SPServiceApplicationProxy
wasProxy
in
wasProxies.ApplicationProxies
where
wasProxy.GetType() ==
typeof
(
WordServiceApplicationProxy
)
select
wasProxy;
foreach
(
WordServiceApplicationProxy
applicationProxy
in
applicationProxies)
{
Console
.WriteLine(applicationProxy.DisplayName.ToString());
}
Console
.ReadLine();
}
}
}
How to get all the word automation service application proxies in the farm
Up Next
Programmatically get the timer jobs history for a particular service in the SharePoint 2010 farm
Ebook Download
View all
Getting Started with SharePoint Framework Development using TypeScript, PnP JS, and React JS
Read by 4.9k people
Download Now!
Learn
View all
Membership not found