Method | Description | |
---|---|---|
CopyIntoItems ( string sourceUrl, string destinationUrls, |
A method used to copy a file to a destination server that is different from the source location.
|
|
CopyIntoItemsLocal ( string sourceUrl, string destinationUrls ) : |
A method is used to copy a file when the destination of the operation is on the same protocol server as the source location.
|
|
GetItem ( string url ) : |
A method is used to retrieve the contents and metadata for a file from the specified location.
|
|
Initialize ( ITestSite testSite ) : void |
Overrides the ManagedAdapterBase class' Initialize() method, it is used to initialize the adapter.
|
|
SwitchTargetServiceLocation ( ServiceLocation serviceLocation ) : void |
Switch the target service location. The adapter will send the MS-COPYS message to specified service location.
|
|
SwitchUser ( string userName, string password, string domain ) : void |
Switch the current credentials of the protocol adapter by specified user. After perform this method, all protocol operations will be performed by specified user.
|
Method | Description | |
---|---|---|
GetTargetServiceUrl ( ServiceLocation serviceLocation ) : string |
A method used to get the target service url by specified service location.
|
|
VerifyCopyIntoItemsLocalOperationCapture ( |
A method used to verify CopyIntoItemsLocal operation related captures.
|
|
VerifyCopyIntoItemsOperationCapture ( |
A method used to verify CopyIntoItems operation related captures.
|
|
VerifyCopyResultCollection ( |
A method used to verify the CopyResultCollection type.
|
|
VerifyFieldInformation ( |
A method used to verify field information related requirements.
|
|
VerifyFieldInfromationCollection ( |
A method used to verify field information collection and all field items in this collection.
|
|
VerifyGetItemOperationCapture ( |
A method used to verify GetItem operation related captures.
|
|
VerifyInternalNameOfField ( string internalName ) : bool |
A method used to verify the internal name of a field whether is ASCII string, its length is fewer than 256 and does not contain any space.
|
|
VerifyTransPortAndSOAPCapture ( ) : void |
A method used to verify the transPort and SOAP related captures.
|
public CopyIntoItems ( string sourceUrl, string destinationUrls, |
||
sourceUrl | string | A parameter represents the absolute URL of the file in the source location. |
destinationUrls | string | A parameter represents a collection of locations on the destination server. |
fields | A parameter represents a collection of the metadata for the file. | |
rawStreamValue | byte | A parameter represents the contents of the file. The contents will be encoded in Base64 format and sent in request. |
return |
public CopyIntoItemsLocal ( string sourceUrl, string destinationUrls ) : |
||
sourceUrl | string | A parameter represents the location of the file in the source location. |
destinationUrls | string | A parameter represents a collection of destination location. The operation will try to copy files to that locations. |
return |
public GetItem ( string url ) : |
||
url | string | A parameter represents the location of the file. |
return |
public Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | A parameter represents the ITestSite instance, which is used to visit the test context. |
return | void |
public SwitchTargetServiceLocation ( ServiceLocation serviceLocation ) : void | ||
serviceLocation | ServiceLocation | A parameter represents the service location which host the MS-COPYS service. |
return | void |
public SwitchUser ( string userName, string password, string domain ) : void | ||
userName | string | A parameter represents the user name. |
password | string | A parameter represents the password of the user. |
domain | string | A parameter represents the domain of the user. |
return | void |