Partager via


_Store.FilePath Property

Returns a String (string in C#) representing the full file path for a Personal Folders File (.pst) or an Offline Folder File (.ost) store. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property FilePath As String
    Get
'Usage
Dim instance As _Store
Dim value As String

value = instance.FilePath
[DispIdAttribute()]
string FilePath { get; }

Property Value

Type: System.String

Remarks

This property supports both Exchange and non-Exchange stores. If the store is not a .pst or .ost store, FilePath returns an empty string.

See Also

Reference

_Store Interface

_Store Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get Information About Stores in a Profile

How to: Add or Remove a Store