Retrieves an instance of the
Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)
Domain
class by the specified symbolic name. The Connection
object you pass in to this method provides information necessary to establish communication with the Content Engine server. This method does not verify the existence of the requested object on the server; it simply returns a local reference without making a round-trip to the server. The local reference is not affiliated with an object of this class type until you perform a function on the object (for example, fetch a property value) that causes a round-trip to the Content Engine server.
Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function GetInstance( _ ByVal conn As IConnection, _ ByVal name As String _ ) As IDomain |
C# |
---|
public static IDomain GetInstance( IConnection conn, string name ) |
C++ |
---|
public: static IDomain GetInstance( IConnection conn, String name ) |
J# |
---|
public static IDomain GetInstance( IConnection conn, string name ) |
JScript |
---|
public static
function GetInstance( conn : IConnection, name : String ) : IDomain |
Parameters
- conn
- A
object for establishing the connection to the Content Engine server.Connection
- name
- The name of domain to retrieve. If
, this method retrieves the default domain.null
Return Value
A reference to a
object.