Share via


ISchemaReferenceInfo.GetTargetNamespace(String) Method

Definition

Retrieves the namespace of the discovered schema.

public:
 int GetTargetNamespace([Runtime::InteropServices::Out] System::String ^ % pbstrRef);
int GetTargetNamespace([Runtime::InteropServices::Out] std::wstring const & & pbstrRef);
public int GetTargetNamespace (out string pbstrRef);
abstract member GetTargetNamespace : string -> int
Public Function GetTargetNamespace (ByRef pbstrRef As String) As Integer

Parameters

pbstrRef
String

[out] Pointer to a string containing schema's namespace.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From discoveryservice.idl:

HRESULT ISchemaReferenceInfo::GetTargetNamespace(  
   [out, retval] BSTR * pbstrRef  
);  

Applies to