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:
[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


Type: SystemString
The FQDN of the domain where the share is located
Type: SystemString
A String computer name that contain the shares
Type: SystemString
A string identifying the share. Used to indicate that the requested attributes of the share should be returned.
Type: SystemString
An optional list of properties to retrieve from the server
Type: NetIQ.DRA.Common.Rest.DataModelsGetInfoOptions
An optional GetInfoOptions structure that controls what data is returned
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