Script functions reference > Script functions in alphabetical order > G > GetSegReposProperty

GetSegReposProperty
Syntax
GetSegReposProperty(docHandle, propertyName);
docHandle
An identifier specifying a document. You can retrieve this identifier by using either the GetFirstSegDoc(), GetCurrSegDoc(), or GetNextSegDoc() function.
propertyName
server – the Fast objects server name.
dbname – the database name.
physicalserver – the physical server name.
dblogicalname – the database logical name.
Description
Returns the repository property specified in the propertyName parameter for the document specified in the docHandle parameter. The function can only be used if you have defined an enveloping machine. See the Document sorting and bundling documentation.
Returns
The value of propertyName.
Example
$doc_handle = GetFirstDoc();
$ret = GetSegReposProperty($doc_handle, "server");
 
OpenText StreamServe 5.6 Updated: 2013-03-01