Creates a new instance of the
class based on the specified parameters. Before calling the
method, you must also set additional properties for the object store. DisplayName, SymbolicName, JNDIDataSource, and JNDIXADataSource are required at a minimum. Use property accessor methods (for example,
) to set the property values. The
object is created when the returned instance is saved.
Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function CreateInstance( _ ByVal domain As IDomain, _ ByVal admins As String(), _ ByVal users As String() _ ) As IObjectStore |
C# |
---|
public static IObjectStore CreateInstance( IDomain domain, string[] admins, string[] users ) |
C++ |
---|
public: static IObjectStore CreateInstance( IDomain domain, array<String>^ admins, array<String>^ users ) |
J# |
---|
public static IObjectStore CreateInstance( IDomain domain, string[] admins, string[] users ) |
JScript |
---|
public static
function CreateInstance( domain : IDomain, admins : String[], users : String[] ) : IObjectStore |
Parameters
- domain
- The FileNet P8 domain for which this instance is scoped.
- admins
- An array of
representing the administrative users and/or groups who can access this object store; for example, "Domain Admins". Cannot be empty.Strings
- users
- An array of
representing the security principal names of the users and/or groups who can access this object store; for example, "Domain Users". Cannot be empty.Strings
Return Value
An
.