EditPartitionDbServer Method

This method can be used to configure the information about an SQL server that hosts a database used to support a specified partition.

IDL Definition

HRESULT EditPartitionDbServer(
 [in] VARIANT lInstanceId,
 [in] VARIANT szContainerPartition,
 [in] VARIANT lSubPartitionNumber,      
 [in] VARIANT dwServerId,            
 [in] VARIANT szServerName,      
 [in] VARIANT szDatabaseName,         
 [in] VARIANT szLogin,                  
 [in] VARIANT szPassword,            
 [in] VARIANT dwMaxCnx,               
 [in] VARIANT dwTimeout,               
 [in] VARIANT dwReplicationType
);

Parameters

lInstanceId (VT_I4)

the LDAP virtual server instance

szContainerPartition (VT_BSTR)

The name of the target namespace partition

lSubPartitionNumber (VT_I4)

The number of the sub-partition to be edited

dwServerId (VT_I4)

the server/database identifier combination to be edited

szServerName (VT_BSTR)

the name of the machine hosting the SQL server

szDatabaseName (VT_BSTR)

The targeted database name on the supporting SQL server

szLogin (VT_BSTR)

The login name for the supporting SQL server

szPassword (VT_BSTR)

The login password for each the supporting SQL server

dwMaxCnx (VT_I4)

The maximum number of concurrent connections allowed from the LDAP server to the SQL server

dwTimeout (VT_I4)

The maximum time a request should be allowed to remain outstanding on the SQL server (how long before the LDAP server gives up on getting a response back from the SQL server)

dwReplicationType (VT_I4)

The replication type of the supporting SQL server.  A SQL server can be of types U2_REPLTYPE_WRITE, U2_REPLTYPE_READ, or U2_REPLTYPE_BOTH

Return Values

a standard HRESULT value


© 1997-1998 Microsoft Corporation. All rights reserved.