SqlSessionProvider.SetSharedResourceProviderToUse Method (ServerContext)
Sets the Shared Services Provider to use in the object model with the Shared Services Provider for the specified server context.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Infrastructure
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Sub SetSharedResourceProviderToUse ( _
serverContext As ServerContext _
)
'Usage
Dim instance As SqlSessionProvider
Dim serverContext As ServerContext
instance.SetSharedResourceProviderToUse(serverContext)
public void SetSharedResourceProviderToUse(
ServerContext serverContext
)
Parameters
- serverContext
Type: Microsoft.Office.Server.ServerContext
A ServerContext object.
See Also
Reference
SetSharedResourceProviderToUse Overload
Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace