Represents the description of a Hitachi Content Platform fixed content storage device.
Namespace:
FileNet.Api.AdminFor information about Hitachi Content Platform, see your vendor documentation. The following code sample illustrates how to create a Hitachi fixed content device object.
public void createHCPDevice() { String name = "HCP1"; String description = "HCP1 Content Store"; String namespaceURL = "http://dev.cemp.hcp.usca.ibm.com"; String root = "stores/hcpstore1"; bool largeStructure = false; String user = "hcpuser"; String pwd = "hcppassword"; int maxConnections = 10; ICmHitachiFixedContentDevice h = Factory.CmHitachiFixedContentDevice.CreateInstance(en.Get_LocalDomain()); h.DisplayName = name; h.DescriptiveText = description; h.HcpNamespaceUrl = namespaceURL; if (largeStructure) h.DirectoryStructure = DirectoryStructure.DIRECTORY_STRUCTURE_LARGE; else h.DirectoryStructure = DirectoryStructure.DIRECTORY_STRUCTURE_SMALL; h.HcpUser = user; h.HcpPassword = pwd.GetBytes(); h.HcpMaxConnections = maxConnections; h.RootDirectoryPath = root; h.Save(RefreshMode.REFRESH); }
Assembly: FileNet.Api (in FileNet.Api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Interface ICmHitachiFixedContentDevice _ Implements IFixedContentDevice, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, _ ICloneable |
C# |
---|
public interface ICmHitachiFixedContentDevice : IFixedContentDevice, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
Visual C++ |
---|
public interface class ICmHitachiFixedContentDevice : IFixedContentDevice, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
JavaScript |
---|
FileNet.Api.Admin.ICmHitachiFixedContentDevice = function(); FileNet.Api.Admin.ICmHitachiFixedContentDevice.createInterface('FileNet.Api.Admin.ICmHitachiFixedContentDevice'); |
Remarks
Metadata
Auditable: false
AllowsInstances: true
AllowsSubClasses: false
ClassDefinitionName: None
IsDependent: false
IsHidden: false
Searchable: false
StorageType: Domain
SuperclassName: FixedContentDevice