LobSystemInstance.GetLobSystem Method
Gets the parent LobSystem object.
Namespace: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Function GetLobSystem As LobSystem
'Usage
Dim instance As LobSystemInstance
Dim returnValue As LobSystem
returnValue = instance.GetLobSystem()
public LobSystem GetLobSystem()
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.LobSystem
Examples
static void GetLOBSystem()
{
NamedLobSystemInstanceDictionary sysInstances = ApplicationRegistry.GetLobSystemInstances();
LobSystemInstance AdvWorksIns = sysInstances["AdventureWorksSample"];
LobSystem AdvWorksSys = AdvWorksIns.GetLobSystem();
Console.WriteLine(AdvWorksSys.Name.ToString());
Console.WriteLine(AdvWorksSys.Id.ToString());
Console.Read();
}
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace