-
Popular posts
-
Tags
Add-In Administration BDC CAML Certificate Certifications Configuration Content Types CSOM Database Deployment ECB External Content Types FBA Fields Impersonation InfoPath installation JavaScript jQuery Logging Metadata Properties MVP Packaging Performance PowerShell Provider-Hosted REST Ribbon Search security Self-Signed Certificate SharePoint SharePoint Designer SharePoint Short SP2019 SQL Taxonomy Timers User Control Visual Studio WCF WebPart Workflow Workflow Activity
-
Categories
- .Net (2)
- Deployment (1)
- Development (1)
- General (11)
- InfoPath (7)
- JavaScript (3)
- Office (1)
- SharePoint (110)
- Configuration (15)
- CSOM (2)
- Designer (3)
- Installation (5)
- Security (2)
- Taxonomy (4)
- Workflow (9)
- SharePoint Shorts (22)
- SQL (3)
- Unit Tests (1)
- Visual Studio (4)
Tag Archives: Search
Get SearchServiceApplication in PowerShell
In C# when retrieving the default SearchServiceApplication object you might do something like the following, if you were trying to initiate a new Schema object, for example: SPServiceContext serviceContext = SPServiceContext.GetContext(SPContext.Current.Site); SearchServiceApplicationProxy searchApplicationProxy = serviceContext.GetDefaultProxy(typeof(SearchServiceApplicationProxy)) as SearchServiceApplicationProxy; Guid … Continue reading
Get SearchServiceApplication object instance
Looking to retrieve the SearchServiceApplication object for the current site? It’s pretty straight forward, as the following demonstrates: Start by adding the following namespace to your class using Microsoft.Office.Server.Search.Administration;using Microsoft.Office.Server.Search.Administration; The Microsoft.Office.Server assembly can be found in the ISAPI folder … Continue reading