Método LobSystemInstance.GetLobSystem
Obtém o pai LobSystem objeto T:Microsoft.Office.Server.ApplicationRegistry.MetadataModel.LobSystem.
Espaço para nome Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Conjunto de Módulos (Assembly) Microsoft.SharePoint.Portal (em microsoft.sharepoint.portal.dll)
A sintaxe
Public Function GetLobSystem As LobSystem
Dim instance As LobSystemInstance
Dim returnValue As LobSystem
returnValue = instance.GetLobSystem
public LobSystem GetLobSystem ()
Exemplo
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();
}
Consulte também
Referência
LobSystemInstance De classe
LobSystemInstance Membros
Microsoft.Office.Server.ApplicationRegistry.MetadataModel De espaço para nome