protocol Property
Returns a String that represents how a document is accessed. The protocol property returns a substring of the document's URL up to and including the first colon. For example, a page from a disk-based Web site would return a protocol property String of "file:". A page from a server-based Web site might return a protocol property String of "http:".
expression.protocol
expression Required. An expression that returns one of the objects in the Applies to list.
Remarks
While the Object Browser in the Visual Basic Editor shows the protocol property as Read/Write, if you try to set the protocol property you will receive an error.
Example
The following example displays the protocol type used to access the active document.
MsgBox ActiveDocument.protocol