Click or drag to resize

IDRARestServerGetSharesRequest Method

The share object(s) defined for a specified computer When shareIdentifier is defined, a single share properties is returned. (computerIdentifier can be null in this case) Otherwise a list of shares in computer is returned. (computerIdentifier CANNOT be null in this case)
UriTemplate: /dra/domains/{domainFqdn}/computer/shares/get

Namespace:  NetIQ.DRA.RestServiceLibrary
Assembly:  NetIQ.DRA.RestServiceLibrary (in NetIQ.DRA.RestServiceLibrary.dll) Version: 10.2.2.1
Syntax
[OperationContractAttribute]
[WebInvokeAttribute(Method = "POST", ResponseFormat = WebMessageFormat.Json, 
	RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped, 
	UriTemplate = "/dra/domains/{domainFqdn}/computer/shares/get")]
Stream GetSharesRequest(
	string domainFqdn,
	string computerIdentifier,
	string shareIdentifier,
	string[] attributes,
	GetInfoOptions getInfoOptions,
	ConnectionParameters connectionParameters
)

Parameters

domainFqdn
Type: SystemString
The FQDN of the domain where the share is located
computerIdentifier
Type: SystemString
A String computer name that contain the shares
shareIdentifier
Type: SystemString
A string identifying the share. Used to indicate that the requested attributes of the share should be returned.
attributes
Type: SystemString
An optional list of properties to retrieve from the server
getInfoOptions
Type: NetIQ.DRA.Common.Rest.DataModelsGetInfoOptions
An optional GetInfoOptions structure that controls what data is returned
connectionParameters
Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials

Return Value

Type: Stream
A ShareListResponse containing the operation results
See Also