The Password property specifies the password to use in making the connection.
Connection Object | SendMailTask Object |
object.Password [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Password to use |
Use the Password property in conjunction with the Connection.UserID method to make the connection.
String
Read/write
HRESULT GetPassword(BSTR *pRetVal);
HRESULT SetPassword(BSTR NewValue);